mg_decompress_text(1)

NAME
mg_decompress_text - decompresses the compressed text of a collection

SYNOPSIS
mg_decompress_text [ -h ] [ -d directory ] -f name

DESCRIPTION
mg_decompress_text decompresses the compressed text of a collection, inserts paragraph and document markers, writing the output to stdout. This program was created to be used as a type of mg_get(1).

OPTIONS
Options may appear in any order.

-h  This displays a usage line on stderr.

-d directory
    This specifies the directory where the document collection can be found.

-f name
    This specifies the base name of the document collection.

ENVIRONMENT

MGDATA
    If this environment variable exists, then its value is used as the default directory where the mg(1) collection files are. If this variable does not exist, then the directory “.” is used by default. The command line option -d directory overrides the directory in MGDATA.

FILES

*.text
    Compressed documents.

*.text.idx
    Index into the compressed documents.

*.text.dict
    Compressed compression dictionary.

*.text.dict.aux
    Auxiliary compression dictionary.

*.text.dict.fast
    Fast loading compression dictionary.

*.invf.paragraph
    Paragraph counts for documents.

SEE ALSO
mg(1), mg_compression_dict(1), mg_fast_comp_dict(1), mg_get(1), mg_passes(1).