On 6/5/06 4:14 PM, "Randy Melder" wrote: > Anybody have a similar script already made in bash or perl? Whoa, my mailer got away from me on that last reply. Let's try this again... Randy, 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 \< oldfile.txt | awk -F "[<>]" '{print $2}' | uniq | tee newfile.txt ...Kevin --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss