[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] reg exp's
- Subject: [ale] reg exp's
- From: fletch at phydeaux.org (Fletch)
- Date: 15 Feb 2001 12:09:08 -0500
>>>>> "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.