Re: regex help

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: Kevin
Datum:  
To: PLUG-DISCUSS
Betreff: Re: regex help

This should do the trick:
grep \< oldfile.txt | awk -F "[<>]" '{print $2}' | tee newfile.txt

You can also remove dupes using the `uniq` cmd:
grep \< deleteme.txt | awk -F "[<>]" '{print $2}' | uniq


...Kevin




On 6/5/06 4:14 PM, "Randy Melder" <> wrote:

> <>:
> Can't open mailbox for . Temporary error
> //I'm not going to try again; this message has been in the queue too long.



...Kevin | plug-discuss (at) firstpacket dot com




---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss