xtsort(1)

NAME
xtsort - sorting records

SYNOPSIS
xtsort -k list of attributes[%{n|r}] [-i input filename] [-o output filename] [-z] [-t] [-T directory of work file]

DESCRIPTION
 This command rearrange the file with the key specified by -k irrespective of sort information stored in the header.

PARAMETERS

-k list of attributes
    specify the attributes by which sorting order is given

-i input filename
    Specify the input filename for this command. If a suffix of the filename is '.gz', the command automatically unzip it beforehand. When this parameter is omitted, standard input (usulally keyboard) is regarded as input file.

-o output filename
    Specify the output filename for this command. If a suffix of the filename is '.gz', the command automatically zip the output data. When this parameter is omitted, standard output (usulally display) is regarded as output file.

-T directory of work file
    Specify the directory name for temporal files used in this command.

OPTIONS

-z  compress the standard output by gz: When -o is omitted and this option is specified, the command output the result zipped.

-t  plain text: When this option is specified, the command treat the input and output data as plain text format.

EXAMPLE

 xtsort -k customerID,date -i dat.xt -o rsl.xt

 xtsort -k customerID,amount%n -i dat.xt -o rsl.xt

 xtsort -k customerID,amount%nr -i dat.xt -o rsl.xt

SEE ALSO

WEB PAGE
http://musashi.adm.osaka-sandai.ac.jp

BUG REPORT
musashi@adm.osaka-sandai.ac.jp

AUTHORS
Yukinobu Hamuro,Naoki Katoh,Katsutoshi Yada