>         What is the canonical way to get (FreeBSD default) awk to use a
> single double-quote as the field separator?  I have tried variations
> on -F\\\" and -F"\"" and the best I can get is:
>
> + awk -F" {print $2}
> ./script.sh: 1: Syntax error: word unexpected

awk -F'"'

That's a single quote, then a double quote, then another single quote. Or:

awk -F\"

should also work.

Regards,
Josh
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to