X-Git-Url: https://git.cworth.org/git?p=gzip;a=blobdiff_plain;f=zless.1;h=26d0ddd3b00ae65f588a7b05439bf34e18c4ccac;hp=bae5aa15903648837553b9cbda9387c98a334ac5;hb=HEAD;hpb=15eea35eec74f226bb721ebf0b3ee7473b1a5ff9 diff --git a/zless.1 b/zless.1 index bae5aa1..26d0ddd 100644 --- a/zless.1 +++ b/zless.1 @@ -8,16 +8,46 @@ 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 LESSOPEN to "|gzip -cdfq %s", +setting the environment variable LESSOPEN to '|gzip -cdfq -- %s', +and the environment variable LESSMETACHARS to +"';*?"()<>[|&^`#\\$%=~'", 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. +.I Less +now provides similar, and more flexible, functionality through the +.I lessfile +and +.I lesspipe +filters. .SH "SEE ALSO" -zmore(1), less(1) +zmore(1), less(1), lessfile(1), lesspipe(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. +If you really want to use less in a pipe, +then do the uncompress explicitly and pipe to less instead of using zless. +.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.