https://github.com/gpalleschi/reponere
Reponere is a bash utility script to replace values in ascii files, the name is latin translation of english word "replace".
https://github.com/gpalleschi/reponere
bash command-line-tool lc regular-expression replace script utility
Last synced: 7 months ago
JSON representation
Reponere is a bash utility script to replace values in ascii files, the name is latin translation of english word "replace".
- Host: GitHub
- URL: https://github.com/gpalleschi/reponere
- Owner: gpalleschi
- License: gpl-3.0
- Created: 2021-03-15T14:58:30.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-27T07:12:02.000Z (almost 5 years ago)
- Last Synced: 2025-02-26T12:35:05.820Z (11 months ago)
- Topics: bash, command-line-tool, lc, regular-expression, replace, script, utility
- Language: Shell
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
###
# 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
* [Visual Code Editor](https://code.visualstudio.com)
## Authors
* **Giovanni Palleschi** - [gpalleschi](https://github.com/gpalleschi)
## License
This project is licensed under the GNU GENERAL PUBLIC LICENSE 3.0 License - see the [LICENSE](LICENSE) file for details