]> git.cworth.org Git - gzip/blob - zless.1
Imported Debian patch 1.3.9-1
[gzip] / zless.1
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 .I  Zless
9 is a filter which allows examination of compressed or plain text files
10 one screenful at a time on a soft-copy terminal.  It is the equivalent of
11 setting the environment variable LESSOPEN to "|gzip -cdfq -- %s",
12 and then running
13 .IR less .
14 However, enough people seem to think that having the
15 command
16 .I zless
17 available is important to be worth providing it.
18
19 Note that zless does not work with files piped to it on stdin, it only works
20 with files specified as arguments.  If you really want to use less in a pipe,
21 then do the uncompress explicitly and pipe to less instead of zless.
22 .SH "SEE ALSO"
23 zmore(1), less(1)
24 .SH "BUGS"
25 .I Zless
26 does not work with compressed data that is piped to it via standard
27 input; it requires that input files be specified as arguments.
28 .SH "COPYRIGHT NOTICE"
29 Copyright \(co 2006 Free Software Foundation, Inc.
30 .br
31 Copyright \(co 1992, 1993 Jean-loup Gailly
32 .PP
33 Permission is granted to make and distribute verbatim copies of
34 this manual provided the copyright notice and this permission notice
35 are preserved on all copies.
36 .ig
37 Permission is granted to process this file through troff and print the
38 results, provided the printed document carries copying permission
39 notice identical to this one except for the removal of this paragraph
40 (this paragraph not being relevant to the printed manual).
41 ..
42 .PP
43 Permission is granted to copy and distribute modified versions of this
44 manual under the conditions for verbatim copying, provided that the entire
45 resulting derived work is distributed under the terms of a permission
46 notice identical to this one.
47 .PP
48 Permission is granted to copy and distribute translations of this manual
49 into another language, under the above conditions for modified versions,
50 except that this permission notice may be stated in a translation approved
51 by the Foundation.