patch to improve behavior of zdiff when file is compressed without extension
[debian/gzip] / zless.1
diff --git a/zless.1 b/zless.1
index ca02423126157d32b6657a56c29575b9fcce889b..6bf667af007ebd21a6e78788323979bf4e86bb41 100644 (file)
--- 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
-"'<space><tab><newline>;*?"()<>[|&^`#\\$%=~'",
+\&'<space><tab><newline>;*?"()<>[|&^`#\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 Free Software Foundation, Inc.
 .br
 Copyright \(co 1992, 1993 Jean-loup Gailly
 .PP