semi-OT: awk - field separator

Robert Huff roberthuff at rcn.com
Thu Nov 15 10:24:29 PST 2007


	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

	Respectfully,


			Robert Huff


More information about the freebsd-questions mailing list