On Sat, Oct 07, 2000 at 11:26:54AM -0500, Ron Marriage wrote:
> I have over 100 webpages in one directory that I need
> to change the same two lines in each.

I'd use perl -p -i -e "sµ^<ENTER YOUR OLD LINE HERE>µ<NEW LINE CONTENTS>µ" files

But this would only work if the text of the old line appears just once, else
every occurance will be replaced.

Alexander Skwar
-- 
Homepage:       http://www.digitalprojects.com | http://www.dp.ath.cx
Sichere Mail?   Mail an [EMAIL PROTECTED] fuer GnuPG Keys
ICQ:            7328191

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to