Re: regex help

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin
Date:  
To: PLUG-DISCUSS
Subject: 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