Home
last modified time | relevance | path

Searched refs:CSV (Results 1 – 8 of 8) sorted by relevance

/dflybsd-src/contrib/awk/
H A Dmain.c52 bool CSV = false; /* true for csv input */ variable
159 CSV = true; in main()
203 if (CSV && (fs != NULL || lookup("FS", symtab) != NULL)) in main()
H A DREADME.md9 This version of Awk handles UTF-8 and comma-separated values (CSV) input.
25 ### CSV ### subsection
27 The option `--csv` turns on CSV processing of input:
31 In CSV mode, `FS` is ignored.
34 field-splitting in `split` is determined by CSV mode.
H A Dlib.c233 if (CSV) { in readrec()
402 if (!CSV && strlen(inputFS) > 1) { /* it's a regular expression */ in fldbld()
404 } else if (!CSV && (sep = *inputFS) == ' ') { /* default whitespace */ in fldbld()
423 } else if (CSV) { /* CSV processing. no error handling */ in fldbld()
H A Dawk.h83 extern bool CSV; /* true for csv input */
H A Dtran.c351 if (CSV && (vp == rsloc)) in setsval()
353 if (CSV && (vp == fsloc)) in setsval()
H A Drun.c1752 } else if (a[2] == NULL && CSV) { /* CSV only if no explicit separator */ in split()
1785 } else if (!CSV && sep == ' ') { /* usual case: split on white space */ in split()
/dflybsd-src/contrib/file/src/
H A Dmagic.h.in59 #define MAGIC_NO_CHECK_CSV 0x0080000 /* Don't check for CSV files */
/dflybsd-src/contrib/file/
H A DChangeLog237 - Add a flag to disable CSV file detection.