MirOS Manual: zless(1), zmore(1)

ZMORE(1)                     BSD Reference Manual                     ZMORE(1)

NAME

     zmore, zless - view compressed files

SYNOPSIS

     zmore [flags] [file ...]
     zless [flags] [file ...]

DESCRIPTION

     zmore is a filter that allows the viewing of files compressed with
     Lempel-Ziv encoding. Such files generally have a "Z" or "gz" extension
     (both the compress(1) and gzip(1) formats are supported). Any flags that
     are specified are passed to the user's preferred PAGER (which is
     /usr/bin/more by default). If called as zless, the default pager used is
     /usr/bin/less.

     zless is equivalent to zmore but uses less(1) as a pager instead of
     more(1).

     When multiple files are specified, zmore will pause at the end of each
     file and present the following prompt to the user:

           --More--(Next file: next_file)

     zless will present the following prompt instead:

           prev_file (END) - Next: next_file

     Where prev_file is the file that was just displayed and next_file is the
     next file to be displayed. The following keys are recognized at the
     prompt:

           e or q  quit zmore.

           s       skip the next file (or exit if the next file is the last).

     If no files are specified, zmore will read from the standard input. In
     this mode zmore will assume gzip(1) style compression since there is no
     suffix on which to make a decision.

ENVIRONMENT

     PAGER  Program used to display files. If unset, /usr/bin/more is used
            (zmore) or /usr/bin/less (zless).

SEE ALSO

     compress(1), gzip(1), less(1), more(1)

MirOS BSD #10-current          October 27, 2009                              1

Generated on 2014-07-04 21:17:45 by $MirOS: src/scripts/roff2htm,v 1.79 2014/02/10 00:36:11 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2014 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.