I need help with my scripts. I am currently running a configuration script with multiple If Then statements using grep to check for the existance of a particulare set of text. If grep returns a null value then the script copies a madified version of the file over the existing file. This is actually working well, but I would rather just edit the lines of text in place without having the do the copy, just in the event that some other setting in the files may be changed in the future.
Any suggestions? I can post some sections of my script if it helps, but as I mentioned they are very basic If then using grep.
Thanks,
Rod