in reply to Re: reading/writing line by line
in thread reading/writing line by line
Can that be used for multiple regexes in a file? Like, if you wanted to do s/foo/bar/g and s/y/yah/g on the same file?perl -i.backup -pe 's/foo/bar/g' filename
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: reading/writing line by line
by amarceluk (Beadle) on May 22, 2002 at 19:42 UTC | |
|
Re: Re: Re: reading/writing line by line
by Juerd (Abbot) on May 22, 2002 at 19:44 UTC | |
by amarceluk (Beadle) on May 22, 2002 at 19:51 UTC |