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

17.8 csv2rec

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

     csv2rec [option]... [csv_file]

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

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