Can anyone give me a hint as to why "sed s/word1/word2/g filename" displays the file 'filename' with word2 in place of word1 but the change isn't made permanent? Thanks, Jen
because sed is a filter that reads from stdin and write to stdout.
So your command should be something like;
sed s/word1/word2/g filename > newfilename
(Hey! I actually knew the answer to something!!)
Keith :o) ____________ Whatever thou sayest of God is untrue. Meister Eckhart