Also note that perl comes with a -p switch, which does the -n and print for you.
perl -ple 's{(.*) SYSTEM (.*)}{$1 SYSTEM "../../../../../Reporting/bin +/report.dtd">}g' 1-report.xml
In reply to Re: using quotemeta in search and replace
by rhesa
in thread using quotemeta in search and replace
by greatshots
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |