[ABE.pm] Re: perl regex Q
Ricardo SIGNES
rjbs-perl-abe at lists.manxome.org
Tue Dec 14 17:36:53 CST 2004
* Faber Fedor <faber at linuxnj.com> [2004-12-14T18:24:22]
> Turns out I need 4, count 'em four, backslashes in front of the N, e.g.
> perl -iBAK -p -e 's/ *NA */\\\\N/g' foo.txt
perl needs 2, and then you have to escape them for the shell :)
--
rjbs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/archives/abe-pm/attachments/20041214/949f203a/attachment.bin
More information about the ABE-pm
mailing list