X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=zless.1;h=d4acd2d05cb3c51a9b91505eab6d236b023d3a18;hb=e7921f54c622e3b32e525f345bc34308821e4ae0;hp=996fb0caf366c496018b6dd283bac3e7b0fe7d1c;hpb=302189d124ed5849c2589ea92e912eb24fdc4ab3;p=gzip diff --git a/zless.1 b/zless.1 index 996fb0c..d4acd2d 100644 --- a/zless.1 +++ b/zless.1 @@ -8,11 +8,44 @@ zless \- file perusal filter for crt viewing of compressed text .I Zless is a filter which allows examination of compressed or plain text files one screenful at a time on a soft-copy terminal. It is the equivalent of -setting the environment variable PAGER to -.I less, -and then running zmore. However, enough people seem to think that having the -command +setting the environment variable LESSOPEN to "|gzip -cdfq -- %s", +and then running +.IR less . +However, enough people seem to think that having the +command .I zless available is important to be worth providing it. + +Note that zless does not work with files piped to it on stdin, it only works +with files specified as arguments. If you really want to use less in a pipe, +then do the uncompress explicitly and pipe to less instead of zless. .SH "SEE ALSO" zmore(1), less(1) +.SH "BUGS" +.I Zless +does not work with compressed data that is piped to it via standard +input; it requires that input files be specified as arguments. +.SH "COPYRIGHT NOTICE" +Copyright \(co 2006 Free Software Foundation, Inc. +.br +Copyright \(co 1992, 1993 Jean-loup Gailly +.PP +Permission is granted to make and distribute verbatim copies of +this manual provided the copyright notice and this permission notice +are preserved on all copies. +.ig +Permission is granted to process this file through troff and print the +results, provided the printed document carries copying permission +notice identical to this one except for the removal of this paragraph +(this paragraph not being relevant to the printed manual). +.. +.PP +Permission is granted to copy and distribute modified versions of this +manual under the conditions for verbatim copying, provided that the entire +resulting derived work is distributed under the terms of a permission +notice identical to this one. +.PP +Permission is granted to copy and distribute translations of this manual +into another language, under the above conditions for modified versions, +except that this permission notice may be stated in a translation approved +by the Foundation.