Skip to content

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

License

Notifications You must be signed in to change notification settings

gpalleschi/reponere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages