regex help

Kevin plug-discuss at firstpacket.com
Mon Jun 5 16:45:48 MST 2006


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" <randymelder at gmail.com> wrote:

> <username1 at yahoo.com>:
> Can't open mailbox for username1 at yahoo.com. 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






More information about the PLUG-discuss mailing list