[ale] reg exp's
Fletch
fletch at phydeaux.org
Thu Feb 15 12:09:08 EST 2001
>>>>> "Joseph" == Joseph A Knapka <jknapka at earthlink.net> writes:
Joseph> Fletch wrote:
>> Read man regex, or perldoc perlre (which is slanted towards
>> perl's regexen, but then you should be using perl not sed :).
Joseph> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Joseph> Shame on you! Corrupting the innocent!
:)
But then is it really corrupting when it can be done from the
command line without temporary files with perl?
perl -i~ -ne 'print unless /reserverd\.for\.cust\.xxx/' infile
(I meant to include that in my previous reply . . .)
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list