Coder Social home page Coder Social logo

gpalleschi / reponere Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 21 KB

Reponere is a bash utility script to replace values in ascii files, the name is latin translation of english word "replace".

License: GNU General Public License v3.0

Shell 100.00%
bash script lc replace regular-expression utility command-line-tool

reponere's Introduction

Reponere

Reponere is a bash utility script to replace values in ascii files, the name is latin translation of english word "replace".

Script accepts these options [Not positional] :

Option Description
[-h] for Help
[-r] for Recursive search `[Optional if not present take only files in directory]`
[-fv] for File contains couple old value, new value separated by space `[Optional]`
[-p] for Directory path where are presentes file to substitute `[Optional if not present take execution directory]`
[-f] for file names to take for substitutions `[Optional if not present take all files, is expressed with a regular expression]`
[-o] old value `[Optional]`
[-n] new value `[Optional]`
[-e] suffix for file modified `[Optional if is not present suffix is .wrk]`
[-d] debug mode show differences in files `[Optional]`

Examples of execution :

   reponere -r -opippo -npluto -f*.txt  
   reponere -fv./filevalues.txt -p./DirectoryToWork  
   reponere -fv./filevalues.txt -p./DirectoryToWork -f*.txt -d

Prerequisites

None

Built With

Authors

License

This project is licensed under the GNU GENERAL PUBLIC LICENSE 3.0 License - see the LICENSE file for details

reponere's People

Contributors

gpalleschi avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.