The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 01-27-2008
Lakris Lakris is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 246
Quote:
Originally Posted by dbsurf View Post
Because by using sed option its taking too much time for searching and replacing text in all thousand files. And redirecting the modified files to the same directory.
Have You tried the -i option for sed? If Your version supports it. It edits the file "in place", it may cut down on time with file handling and piping, depending on how You do it.

/Lakris