xls2csv
reads MS-Excel spreadsheet and dumps its content as comma-separated
values to stdout. Numbers are printed without delimiters, strings are
enclosed in the double quotes. Double-quotes inside string are doubled.
OPTIONS
-x
print unknown unicode chars as \xNNNN, rather than as question marks
-l
list known charsets and exit successfully
-cchar
cell separator char. By default - comma.
-qnumber
set quote mode. In quote mode 0 cell contents is never quoted.
In quote mode 1 only strings which contain spaces, double quotes or
commas are quoted.
In quote mode 2 (default) all cells with type string are quoted.
In quote mode 3 all cellsa are quoted.
-dcharset
- specifies destination charset name. Charset file has format described in
CHARACTER SETS below and should have. By default, current locale
charset would be used if langinfo support was enabled at the compile time.
.txt
extension and reside in
catdoc library directory (/usr/lib/catdoc).
-dcharset
- specifies destination charset name. Charset file has format described in
CHARACTER SETS section of
catdoc(1)
manual
-scharset
- specifies source charset. Typically, Excel files have CODE PAGE
record, which denotes input charset, but for some reason you may wish to
override it.
-V
outputs version number
BUGS
Date cells are not recognized and printed as floating point number of days since
1-01-1900. Probably many others.