CLEVERCSV-STANDARDIZE(1) | Clevercsv Manual | CLEVERCSV-STANDARDIZE(1) |
NAME
clevercsv-standardize - Convert a CSV file to one that conforms to RFC-4180
SYNOPSIS
clevercsv standardize [-e ENCODING | --encoding=ENCODING] [-i | --in-place] [-n NUM_CHARS | --num-chars=NUM_CHARS] [-o OUTPUT | --output=OUTPUT] [-t | --transpose] <path [path ...]>
DESCRIPTION
The standardize command can be used to convert a non-standard CSVfile to the standard RFC-4180 format [1]. When using the --in-place option, the return code of CleverCSV can be used to check whether a file was altered or not. The return codewill be 2 when the file was altered and 0 otherwise.
OPTIONS
-h, --help
-e, --encoding
-i, --in-place
-n, --num-chars
One aspect to keep in mind is that CleverCSV may need to read a specific number of characters to be able to correctly infer the dialect. For example, in the ``imdb.csv`` file in the GitHub repository, the correct dialect can only be found after at least 66 lines of the file are read. Therefore, if there is availability to run CleverCSV on the entire file, that is generally recommended.
-o, --output
-t, --transpose
<path>
CLEVERCSV
Part of the CleverCSV suite
2023-09-24 | Clevercsv 0.8.2 |