>
>
> $ gawk -f mwe.txt
> gawk: mwe.txt:1: Alice|al...@aol.com
> gawk: mwe.txt:1:       ^ syntax error
> gawk: mwe.txt:2: Bob|b...@bostonbeans.org
> gawk: mwe.txt:2:     ^ syntax error
> gawk: mwe.txt:3: Carol|ca...@carboncopy.net
> gawk: mwe.txt:3:       ^ syntax error
>
> What have I done incorrectly?
>
>
You're running your data file as the gawk script. You want `gawk -f foo.awk
< mwe.txt`.

- Marcel

Reply via email to