The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-22-2007
lazytech lazytech is offline
Registered User
 

Join Date: Nov 2006
Posts: 39
My suggestion would be to have your sed command in a script and have it output to a temp file and then have the mv command write the temp file over the original file.
Reply With Quote