Hi Everyone and Thank you for all of your help so far:
I have working trying to write a sed script that will replace a string of text a file with a new string and then save the information in the same file.
I have been trying
sed 's|foo|bar|g' file >file
and it doesn't seem to work where the information disappears and the file named file is blank.
Can anyone help me with this?
Thank you in advance.
Ron
I have working trying to write a sed script that will replace a string of text a file with a new string and then save the information in the same file.
I have been trying
sed 's|foo|bar|g' file >file
and it doesn't seem to work where the information disappears and the file named file is blank.
Can anyone help me with this?
Thank you in advance.
Ron