ubcsvtoA – converts csv to A format

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

FLAGARGUMENTTYPEDESCRIPTION
–mappingmapping file nametextfile containing the mapping description

ERRORS

EXAMPLE

ubcsvtoA –mapfile test.map test.csv

SEE ALSO