ybiC has asked for the wisdom of the Perl Monks concerning the following question:
perl -i.bak -n -e 's/img src=\"image\.gif\"/img src=\"\/Images\/image\.gif\"/g' file.html
cheers,
Don
striving for Perl Adept
(it's pronounced "why-bick")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: in-place edit, regex, one-liner
by mdillon (Priest) on Nov 24, 2000 at 01:22 UTC | |
by ybiC (Prior) on Nov 24, 2000 at 01:44 UTC | |
by chromatic (Archbishop) on Nov 24, 2000 at 03:02 UTC | |
by ybiC (Prior) on Nov 24, 2000 at 03:52 UTC |