Mailinglist Archive: opensuse (3202 mails)
| < Previous | Next > |
Re: [opensuse] OT: Need program to replace text
- From: Chris Arnold <carnold@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 12 Nov 2007 16:24:18 -0500
- Message-id: <4738C482.2050105@xxxxxxxxxxxxxxxxxxx>
Stefan Hundhammer wrote:
perl still be able to do it and if so, do i need to escape some of the
code in oldtext and newtext? Example:
<HTML> the < and >
and
<?php ;?> does any of that need to be escaped?
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
perl -p -i -e 's/oldtext/newtext/' *.html/oldtext will be lines of html and /newtext will be lines of php. Will
perl still be able to do it and if so, do i need to escape some of the
code in oldtext and newtext? Example:
<HTML> the < and >
and
<?php ;?> does any of that need to be escaped?
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |