X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=zless.1;h=7ff29e826ef199acb886366fea81c59d48222186;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=ca02423126157d32b6657a56c29575b9fcce889b;hpb=013796abf4c6be0bd130f541c0ece156156239c3;p=debian%2Fgzip diff --git a/zless.1 b/zless.1 index ca02423..7ff29e8 100644 --- a/zless.1 +++ b/zless.1 @@ -10,25 +10,25 @@ 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 LESSOPEN to '|gzip -cdfq -- %s', and the environment variable LESSMETACHARS to -"';*?"()<>[|&^`#\\$%=~'", +\&';*?"()<>[|&^`#\e$%=~', 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 using 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. +To read compressed data from a pipe, you can use +.RB ".\|.\|." "|gunzip|less" +instead of +.RB ".\|.\|." "|zless" . .SH "COPYRIGHT NOTICE" -Copyright \(co 2006 Free Software Foundation, Inc. +Copyright \(co 2006-2007, 2015-2018 Free Software Foundation, Inc. .br Copyright \(co 1992, 1993 Jean-loup Gailly .PP