This module has an internal state, stored in global variables. The state holds informations about:
gzip
).
Declare the programs required to compress a file. Declaring the intention to use a program
The programs are: gzip
, bzip2
, lzip
, xz
.
The selection will affect all the future invocations of the compression/decompression functions.
Select a compressor program.
Select whether the compress program should keep the original file or not.
Select if the output must be sent to stdout or a file. This takes precedence over the keep/no keep configuration: if the output is sent to stdout the original file is kept.
Additional arguments to the selected compressor may be appended to the invocation of the following functions and are handed to the compressor unchanged.
Compress PATHNAME, a file pathname, with the currently selected compressor program.
Decompress PATHNAME, a file pathname, with the currently selected compressor program.
This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.