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 -->
  #1 (permalink)  
Old 01-27-2008
dbsurf dbsurf is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 23
which is best searching option

Hi,

I need one help for choosing best option among sed, perl and awk.
I need to search and replace thousand files for a text and need to replace it. I am in confusion for choosing the option for best results.

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.

At present i am using sed for the above.But its taking 2 hrs to replace and redirect the modified files .

Can anyone suggest for choosing best among sed ,perl and awk?