diff options
Diffstat (limited to 'doc/gawk.1')
-rw-r--r-- | doc/gawk.1 | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -234,6 +234,12 @@ is preceded by a .B + sign in the output. .TP +\fB\-k\fR, \fB\-\^\-csv\fR +Enable CSV special processing. +See the manual for details. +.BR FIXME : +eventually provide a URL here. +.TP .BI \-l " lib\fR, "\c .BI \-\^\-load " lib" Load a @@ -638,6 +644,20 @@ Similarly, assigning a value to .B $0 causes the record to be resplit, creating new values for the fields. +.SS Comma Separated Values +When invoked with the +.B \-\^\-csv +option, +.I gawk +does not use regular record determination and field splitting +as described above. +Instead, records are terminated by unquoted newlines, and +fields are separated by commas. +Double-quotes may be used to enclose fields containing +commas, newlines, or doubled double-quotes. +See +.B FIXME +in the manual for more detail. .SS Built-in Variables .IR Gawk\^ "'s" built-in variables are listed below. |