Crate libaki_xcat[][src]

concatenate files that are plain, gzip ... etc.

Usage:
  aki-xcat [options] [<file>...]

cat and zcat by rust lang.
with no <file> or when <file> is -, read standard input.

Options:
  -H, --help     display this help and exit
  -V, --version  display version information and exit

Examples

Command line example 1

concatenate plain text file.

cat fixtures/plain.txt

result output :

abcdefg
hijklmn

concatenate gzip text file.

zcat fixtures/gztext.txt.gz

result output :

ABCDEFG
HIJKLMN

concatenate plain text file and gzip text file.

aki-xcat fixtures/plain.txt fixtures/gztext.txt.gz

result output :

abcdefg
hijklmn
ABCDEFG
HIJKLMN

Library example

See fn execute() for this library examples.

Functions

execute

execute gsub