NAME
ubcsvtoA – convert a csv file to unibase A records
SYNOPSIS
ubcsvtoA {–mapfile <map file>} <FILE>
DESCRIPTION
ubcsvtoA converts a standard csv file to the unibase A record format.
The first line of the csv file must be column headings.
The optional map file specifies the unibase attribute names to use for each column (otherwise the column headings are used as the attribute names).
map file format:
<attribute>,<column heading>
Lines tarting with # are treated as comments and blank lines are ignored. Attribute names can’t contain “,” (unibase requirement) but column headings can.
FLAGS
FLAG | ARGUMENT | TYPE | DESCRIPTION |
---|---|---|---|
–mapfile | mapping file name | text | file containing the mapping description |
ERRORS
EXAMPLE
ubcsvtoA –mapfile test.map test.csv