On 19-Aug-02 Jenny_Hopkins@toby-churchill.com wrote:
Hi all, 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
Sed write to stdout. You have to redirect its output somewhere. You cannot do an update in-place with it.
---------------------------------- E-Mail: Raphael Mankin raph@panache.demon.co.uk Date: 22-Aug-02 Time: 13:32:40 ----------------------------------