xtslide(1)

NAME
xtslide - generate new field sliding one line up

SYNOPSIS
xtslide [-k a list of attributes] [-s a list of atributes to be rearranged[%{n|r}]] -f a list of attributes [-n] [-q] [-i input filename] [-o output filename] [-z] [-t] [-T directory of work file]

DESCRIPTION
 Letting the attribute(s) specified by -k be the key, this commands places the value of the attribute specified by -f one line above as a new attribute.

PARAMETERS

-k a list of attributes
    a list of attributes which defines the key (if omitted, all lines are assumed to take the same key value.)

-s a list of atributes to be rearranged
    this determines the ordering of records for those having the same key value

-f a list of attributes
    a list of attributes which is slid one line above (more than one attribute can be specified)

-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

-n  output the last line: Last line is not deleted.

-q  the transaction of sequential: When this option specified with -k parameter, the command process the input data following the original sequence of the lines, instead of processing after sorting the field specified by -k parameter.

-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

 xtslide -k customerID -s date -f date:next_date -i dat.xt -o rsl.xt

SEE ALSO
xtcal(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