On Mon, Feb 8, 2010 at 12:32 PM, Rich Shepard <[email protected]> wrote:
> awk -f .co-commissioners.addresses '$2 "\t" $2 ", " $1 "\t" $3 "marketing"' >
> temp.tmp
Why the -f?
> awk: .co-commissioners.addresses:1: ^ invalid char '@' in expression
>
> How do I specify to awk that the '@' is part of a field?
This works for me:
$ echo "First Second e-m...@address" |
awk '{print $2 "\t" $2 ", " $1 "\t" $3 "\tmarketing"}' |
cat -A
Second^ISecond, first^ie-m...@address^imarketing$
Regards,
- Robert
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug