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 reply to Re: Re: (2) in-place edit, regex, one-liner (perl -i.bak -pe)
by chromatic
in thread in-place edit, regex, one-liner
by ybiC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |