develooper Front page | perl.beginners | Postings from March 2002

Help Required - Search and Replace

Thread Next
Rajanikanth Dandamudi
March 20, 2002 21:25
Help Required - Search and Replace
Message ID:

I have a one big text file and also I have some set of strings to be
replaced by another set of strings. Currently, I am reading each line of
the file, and replacing one set of strings by another set of strings,
one after another. Is there any efficient way of doing this? The data is
so huge that this job takes around 7Hrs of total time on Sun Ultra 10.
Is there any way of efficiently doing this? Thanks in advance.

Thanks and Regards,

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About