OK ... Remember you asked for it. I have at least a dozen files that I want to update. I want to do this:
[EMAIL PROTECTED] somedirectory]$ perl -pi~ -e 's/./officers-gasenate.html/http://www.legis.state.ga.us/cgi-bin/peo_list.pl?List=stsenatedl/' ./contactus.html I was hoping to change this code: State House</a> <a class="item2" href="./officers-gasenate.html">Georgia State Senate</a></div> to this: State House</a> <a class="item2" href="http://www.legis.state.ga.us/cgi-bin/peo_list.pl?List=stsenatedl">Georgia State Senate</a></div> Of course it isn't working. I think it's because of all of those forward slashes. I wonder if I'm trying to drive a nail with a coffee cup. On Tue, 2005-06-07 at 15:09 +0200, Xavier Noria wrote: > On Jun 7, 2005, at 14:51, Cy Kurtz wrote: > > > Is it possible to use s/foo/bar in another way to allow replacement of > > large blocks of text with spaces, quotes, and double quotes? > > Would you please send an example of what you need to accomplish? > > -- fxn > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>