X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=zless.1;h=bae5aa15903648837553b9cbda9387c98a334ac5;hb=0161769885b1bdcc3d5f6699ade8f2b88c56e570;hp=996fb0caf366c496018b6dd283bac3e7b0fe7d1c;hpb=302189d124ed5849c2589ea92e912eb24fdc4ab3;p=gzip diff --git a/zless.1 b/zless.1 index 996fb0c..bae5aa1 100644 --- a/zless.1 +++ b/zless.1 @@ -8,11 +8,16 @@ 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 +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)