Next: , Previous: Invoking recfmt, Up: Invoking the Utilities


17.8 Invoking csv2rec

csv2rec reads the given comma-separated-values file (or the data from standard input if no file is specified) and prints out the converted rec data, if possible. Synopsis:

     csv2rec [option]... [csv_file]

In addition to the common options described earlier (see Common Options) the program accepts the following options.

-t type
--type=type
Type of the converted records. If no type is specified then no type is used.
-s
--strict
Be strict parsing the csv file.
-e
--omit-empty
Omit empty fields.