[KLUG Members] write changes from sed to a file

Patrick McGovern members@kalamazoolinux.org
Tue, 07 Aug 2001 12:21:25 -0400


What is the correct syntax to use the "w" feature of sed to write the changes to a file.
I tried this without avail ( I want changes to write to "sed_file"):

sed  -w sed_file  's/search_string/replace_string/g'   file_name_to_read 

Pat