IMCA-SHIPMENT-TOOL(1) | General Commands Manual | IMCA-SHIPMENT-TOOL(1) |
imca-shipment-tool
—
imca-shipment-tool |
[-h ] sort
[-hiv ] [-r
file] [file ...] |
imca-shipment-tool
program reads and writes IMCA-CAT
SynchWeb shipment CSV files according to the specified command. The currently
supported command is sort
which will sort the shipment
by container name and then by pin position.
By default, imca-shipment-tool
reads a
shipment from the standard input stream, processes it according to the
specified command, and writes the output to the standard output stream.
The file arguments are processed in the order given. A single dash (‘-’) represents the standard input stream, and may appear multiple times in the file list. If no file arguments are given, the standard input stream is read.
The global options are as follows:
-h
The sort
options are as follows:
-h
-i
-v
-r
fileimca-shipment-tool
program exits 0 on success, and
>0 if an error occurs.
$ imca-shipment-tool sort
foo.csv
To sort shipment foo.csv in place:
$ imca-shipment-tool sort -i
foo.csv
To sort shipment foo.csv in place according to the order of containers in bar.csv:
$ imca-shipment-tool sort -i -r
bar.csv foo.csv
July 21, 2021 |