Hi All,
I am new to Unix and have a simple question. I would like to do three sed replacements in a large text file. The command I am using is as follows....
sed �n �e �s/:A/:X/� �e �s/:B/:Y/� �e �s/:C/:Z/� myfile.txt > myfile_SED.txt
The : need to be the search to identify specific :A, :B, :C in the files from A, B, C and replace with :X, :Y, :Z.
When I run the command it creates the myfile_SED.txt
but it is 0 bytes when done. I tried to edit the file without output using this command....
sed �n �e �s/:A/:X/� �e �s/:B/:Y/� �e �s/:C/:Z/� myfile.txt
But when I run the command, and check the file after compete, I don't see any changes. Can someone help me figure out why sed is not making the replacements?
Thanks,
jos.