Re: PERL or grep help pls (search replace)
I gave you a script that would do this just the other day (the thread
"Perl/C programmers, help pls"). Surely it's not that difficult to
modify that to do this search/replace as well?
If you want to know what's going on in the script, here's a basic Perl
tutorial:
http://www.scs.leeds.ac.uk/Perl/start.html
Matthew
"Chad A. Adlawan" wrote:
>
> hello,
>
> i have like 10 thousand small files, some containing the text "http://209.155.163.97/smile.gif" inside it while some dont.
> can someone please help me with a script w/c views all these files and if it sees a "http://209.155.163.97/smile.gif", will replace it w/ a "http://www.cproda.com/smile.gif" ?.
>
> thanks a lot :-)
>
> chad
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: