[...]
You may have noticed that you got a number of answers to your question, all using different utilities. If you want to learn to do things like your search 'n' replace thing yourself, I'd advise you learn Perl, and don't worry about any of the others. In the maze of Unix text manipulating utilites like Perl, sed, awk and others, Perl is the one and only thing you need.
thank to everyone. the perl script definitely did the trick. i tried some of the other things too like sed, awk, vi but perl was definitely faster.
--
eatapple core dump
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com