Keep It Simple, Stupid | |
PerlMonks |
Re: Re: (2) in-place edit, regex, one-liner (perl -i.bak -pe)by chromatic (Archbishop) |
on Nov 24, 2000 at 03:02 UTC ( [id://43175]=note: print w/replies, xml ) | Need Help?? |
I think you can cut that down a bit.
perl -pe -i.bak 's!(img src=")(image\.gif")!$1/Images/$2!g' *.html (I haven't tested it, but I think it's okay.)
In Section
Seekers of Perl Wisdom
|
|