http://qs321.pair.com?node_id=56239


in reply to Re: Re: Re: converting absolute to relative links
in thread converting absolute to relative links

Try
perl -pi.bak -e 's-src=("?)myserver.com/images/-src=$1../images/-g' *. +html
Our definitions of fast may differ.

Also note how easily I made the substitution just slightly more flexible.

Of course for a summary of changes I usually just use:

cvs diff | less
(Source control is your friend!)

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
    I guess I am more comfortable at this point in using my text editor to perform all functins while coding, including checking for syntax, running, Find & Replace as well as version control (see VOODOO for BBEdit).

    But then I am sure I am not close to the same level as Tilly and others (yet).

    I would be interested in knowing how many others code Perl on Mac?