项目作者: gpalleschi

项目描述 :
Reponere is a bash utility script to replace values in ascii files, the name is latin translation of english word "replace".
高级语言: Shell
项目地址: git://github.com/gpalleschi/reponere.git
创建时间: 2021-03-15T14:58:30Z
项目社区:https://github.com/gpalleschi/reponere

开源协议:

下载


#

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 :

  1. reponere -r -opippo -npluto -f*.txt
  2. reponere -fv./filevalues.txt -p./DirectoryToWork
  3. 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