Next: , Previous: Advanced usage, Up: Top

5 Environment

The environment variable GZIP can hold a set of default options for gzip. These options are interpreted first and can be overwritten by explicit command line parameters. For example:

     for sh:    GZIP="-8v --name"; export GZIP
     for csh:   setenv GZIP "-8v --name"
     for MSDOS: set GZIP=-8v --name

On VMS, the name of the environment variable is GZIP_OPT, to avoid a conflict with the symbol set for invocation of the program.