1 2 3 4 5 6 7 8
BEGIN { FPAT = "([^,]*)|(\"[^\"]+\")" } { print "NF =", NF for (i = 1; i <= NF; i++) printf("$%d = <%s>\n", i, $i) }