New to sed... I have the following statement that when entered on the command line works properly to make the desired replacement. This version sends the result to stdout. I can also redirect to a new file by appending ">newfile". But I want to change the original file and when I redirect to the same file name I get an empty file. What am I missing? How do I change the original file?