On Nov 7, 8:24 pm, [EMAIL PROTECTED] (Charlie
Farinella) wrote:
> On Wednesday 07 November 2007, [EMAIL PROTECTED] wrote:
> > Assuming a Bourne-like shell any of the following should work
>
> I am using bash, I should have made that clear.
>
> > perl -w -i -p -e "s/testtext/<% \\$bURL %>/g" test.html
>
> This did not work.

D'oh! I did't have a Unix box to hand to check it.

perl -w -i -p -e "s/testtext/<% \\\$bURL %>/g" test.html

(Still untested but really should work this time.)


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to