| 1 |
.TH ZLESS 1 |
| 2 |
.SH NAME |
| 3 |
zless \- file perusal filter for crt viewing of compressed text |
| 4 |
.SH SYNOPSIS |
| 5 |
.B zless |
| 6 |
[ name ... ] |
| 7 |
.SH DESCRIPTION |
| 8 |
The |
| 9 |
.B zless |
| 10 |
command |
| 11 |
is a filter which allows examination of compressed or plain text files |
| 12 |
one screenful at a time on a soft-copy terminal. It is the equivalent of |
| 13 |
setting the environment variable LESSOPEN to '|gzip -cdfq -- %s', |
| 14 |
and the environment variable LESSMETACHARS to |
| 15 |
\&'<space><tab><newline>;*?"()<>[|&^`#\e$%=~', |
| 16 |
and then running |
| 17 |
.BR less . |
| 18 |
However, enough people seem to think that having the |
| 19 |
command |
| 20 |
.B zless |
| 21 |
available is important to be worth providing it. |
| 22 |
.SH "SEE ALSO" |
| 23 |
.BR zmore (1), |
| 24 |
.BR less (1) |
| 25 |
.SH "BUGS" |
| 26 |
The |
| 27 |
.B zless |
| 28 |
command |
| 29 |
does not work with compressed data that is piped to it via standard |
| 30 |
input; it requires that input files be specified as arguments. |
| 31 |
To read compressed data from a pipe, you can use |
| 32 |
.RB ".\|.\|." "|gunzip|less" |
| 33 |
instead of |
| 34 |
.RB ".\|.\|." "|zless" . |
| 35 |
.SH "COPYRIGHT NOTICE" |
| 36 |
Copyright \(co 2006-2007, 2015-2023 Free Software Foundation, Inc. |
| 37 |
.br |
| 38 |
Copyright \(co 1992, 1993 Jean-loup Gailly |
| 39 |
.PP |
| 40 |
Permission is granted to make and distribute verbatim copies of |
| 41 |
this manual provided the copyright notice and this permission notice |
| 42 |
are preserved on all copies. |
| 43 |
.ig |
| 44 |
Permission is granted to process this file through troff and print the |
| 45 |
results, provided the printed document carries copying permission |
| 46 |
notice identical to this one except for the removal of this paragraph |
| 47 |
(this paragraph not being relevant to the printed manual). |
| 48 |
.. |
| 49 |
.PP |
| 50 |
Permission is granted to copy and distribute modified versions of this |
| 51 |
manual under the conditions for verbatim copying, provided that the entire |
| 52 |
resulting derived work is distributed under the terms of a permission |
| 53 |
notice identical to this one. |
| 54 |
.PP |
| 55 |
Permission is granted to copy and distribute translations of this manual |
| 56 |
into another language, under the above conditions for modified versions, |
| 57 |
except that this permission notice may be stated in a translation approved |
| 58 |
by the Foundation. |