in reply to Re: Perl command line search and replace
in thread Perl command line search and replace
s{\Qhttp://www.mydomain.com/script.pl?key=3\E} {http://www.mydomain.com/script.pl?key=4}
filename we are changing is called web.sh
Would I write it from the command line like the following:
perl test.pl web.sh
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl command line search and replace
by Anonymous Monk on Jun 28, 2011 at 17:54 UTC |