]> git.cworth.org Git - gzip/blobdiff - zless.in
Imported Debian patch 1.3.5-10
[gzip] / zless.in
index 952738190c0049a1db1e520b127470d595b61c4a..5c9bf48bc9ec111964c31b1837c78022f76f59e4 100644 (file)
--- a/zless.in
+++ b/zless.in
@@ -1,10 +1,5 @@
 :
 #!/bin/sh
-
-: ${PAGER=less}
-export PAGER
-
-PATH="BINDIR:$PATH"
-export PATH
-
-exec zmore ${1+"$@"}
+PATH="BINDIR:$PATH"; export PATH
+LESSOPEN="|gzip -cdfq %s"; export LESSOPEN
+exec less "$@"