in reply to Re: Re: Re: converting absolute to relative links
in thread converting absolute to relative links
Try
Our definitions of fast may differ.perl -pi.bak -e 's-src=("?)myserver.com/images/-src=$1../images/-g' *. +html
Also note how easily I made the substitution just slightly more flexible.
Of course for a summary of changes I usually just use:
(Source control is your friend!)cvs diff | less
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re (tilly) 4: converting absolute to relative links
by belize (Deacon) on Feb 03, 2001 at 23:02 UTC |
In Section
Seekers of Perl Wisdom