Convert comma separated value (CSV) FILEs into hypertext markup language (HTML) files. The output file will have the same file name as FILE has with the file extension replaced with .html. Output will be written to the standard output if -s option is specified.
If FILEs are not specified, csv2html reads its input from standard input and writes output to standard output; the output can be redirected to a file by -o option.
The first line in the input is expected to be a row containing a list of column names by default; this can be turned off by -N option.
If both short form and long form are specified on the command line, the long form will take precedence.
The character set to be used for encoding/decoding data; supported values are: 'UTF-8' and 'platform-default', default to 'UTF-8'.
The delimiter for separating data; default to ','. Use word 'tab' for setting tab character as delimiter.
The line separator to be used in the output file; supported values are: 'unix', 'windows', default to platform's line separator.
Prompt before overwriting the output file.
Indicate the first line in the input is a row of data but not a row containing a list of column names.
Redirect output to the file specified by OUTPUT_FILE if input is read from standard input.
Preserve the last-modified time of the output file if it exists.
Redirect output to the standard output if FILEs are specified.
-NT, --null-text BOOLEAN
Indicates if NULL value is represented as (null) text, default to 'false'. See BOOLEAN VALUES section below for supported BOOLEAN values.
-PA, --datetime PATTERN
Pattern for formatting date and time, default to 'yyyyMMdd HH:mm:ss.SSS'.
-PD, --date PATTERN
Pattern for formatting date, default to 'yyyyMMdd'.
-PT, --time PATTERN
Pattern for formatting time, default to 'HH:mm:ss.SSS'.