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
None
- Giovanni Palleschi - gpalleschi
This project is licensed under the GNU GENERAL PUBLIC LICENSE 3.0 License - see the LICENSE file for details