# @(#)decompress_dat 17.1.1.1 (ESO-IPG) 01/25/02 17:31:39 # This file contains a table of suffixes for compressed files and the commands # spawned by the "osd" interface to decompress them. # # The interface "osd" tries to read a file like this from the # environment $DECOMPRESS_TABLE, otherwise uses $MID_INCLUDE/decompress.dat, # otherwise uses a built-in table. # # NOTE: Please note that this file is called "decompress_dat" for the purpose # of using the built-in table by default. If you want to use it as a # template, copy it to $MID_INCLUDE/decompress.dat and edit it. # Please note that if the file $DECOMPRESS_TABLE or # $MID_INCLUDE/decompress.dat exists the built-in table will be ignored. # # # The syntax of this file must be followed strictly: # - Only '#' as the first character makes a line in comments. # - Separators are blanks or tabs. # - Suffixes are in the first column and without quotes. # - Commands are in the second column. Double quotes are required if the # command contains blanks. # - Commands can contain the character '*' that represents the file to be # decompressed, otherwise the filename is appended as an argument to the # command. NOTE: only the first '*' is expanded. # - Any thing after the second column is ignored. # - Incomplete entries are ignored (i.g. only the suffix) # - Only the first MAX_TABLE_ENTRY (20) entries are read, the rest is ignored. # - If two entries has the same suffix, the second one will be always ignored. # # Examples. Remove the char '#' in front of the preffix for a valid entry. # The current built-in table is: #.Z zcat #.z "gunzip -c" # # Other valid examples: #.z "cat * | uncompress -c" #.gz "/usr/local/gnu/bin/gunzip -c"