My reading of the gawk man page and my Google searches haven't shown me how to have awk ignore the '@' symbol in an e-mail address.
I have a file where each record looks like this: First Second e-m...@address What I want is the file to look like this: Second [tab]Second[comma space] first[tab]e-m...@address[tab]string I tried a quickie one-liner from the command line: awk -f .co-commissioners.addresses '$2 "\t" $2 ", " $1 "\t" $3 "marketing"' > temp.tmp and get this error: awk: .co-commissioners.addresses:1: ^ invalid char '@' in expression How do I specify to awk that the '@' is part of a field? Rich _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
