Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re (tilly) 4: converting absolute to relative links

by tilly (Archbishop)
on Feb 03, 2001 at 22:52 UTC ( #56239=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://56239]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2019-07-17 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?