Hi,

--- On Thu, Feb 9, 2012 at 11:18 AM, kumaresan chandran
<[email protected]> wrote:
| I use this command to modify the text file but the output redirect to saved
| in another file. But i need to save the output in same file. If any body
| give me the suggestion.
|
| sed -e 's/ARCHIVE4_15328,0/ARCHIVE4_15328,1/g'  test1.txt > test.txt
\--

Use "sed -i". Learn to read the manual page:

  $ man sed

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to