I have a default conf file that we use over and over in our projects. And for each project, the file must be changed. More than once, one person who edited the conf file made multiple errors.
So, I wanted to write a shell script that can be called to modify the conf file.
But, being new to shell scripts, I don't know how to do this. What is the appropriate * nix tool to open a text file, find a line, replace it with another, and then close the text file.
Thank! Eric
user290043
source
share