xtcut(1)

NAME
xtcut - selects the attributes

SYNOPSIS
xtcut -f a list of attributes to be selected [-r] [-i input filename] [-o output filename] [-z] [-t]

DESCRIPTION
This command selects the attributes specified by -f in the order given by -f. If -r is specified, those given by -f are not selected.

PARAMETERS

-f a list of attributes to be selected

-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.

OPTIONS

-r  attribute not to be selected: attributes given by -f are not selected

-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

 xtcut -f customerID,quantity,amount -i dat.xt -o rsl.xt

 xtcut -f customerID,auantity,amount -r -i dat.xt -o rsl.xt

SEE ALSO
xtsubstr(1)

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

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

AUTHORS
Yukinobu Hamuro,Naoki Katoh,Katsutoshi Yada