zmore(1) - OpenBSD manual pages (original) (raw)

NAME

zmore, zless — view compressed files

SYNOPSIS

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 thecompress(1) and gzip(1) formats are supported). Anyflags that are specified are passed tomore(1) orless(1), respectively.

zless is equivalent tozmore but usesless(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:

prev_file (END) - Next: next_file

Whereprev_file is the file that was just displayed andnext_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.

SEE ALSO

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