[oclug] tr help
Glenn Jackman
glennj at ncf.ca
Fri Nov 14 19:17:23 EST 2003
On 2003-11-14 18:29, Bob Lockie wrote:
> On 11/14/03 15:38 Glenn Jackman spoke thusly
> >perl's -i switch enables editing "in place":
>
> That was extremely helpful as a place for me to start, thanks.
>
> # find . -name \*.html | xargs perl -ipe 's{\\}{/}g'
> Can't open perl script "s{\\}{/}g": No such file or directory
Ah, my mistake. -ipe is probably interpreted by perl as "edit in place,
but backup file with extenstion 'pe'"
Perhaps
find . -name \*.html | xargs perl -i -pe 's{\\}{/}g'
--
Glenn Jackman
NCF Sysadmin
glennj at ncf.ca
More information about the OCLUG
mailing list