summaryrefslogtreecommitdiff
path: root/zcat.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2007-02-05 20:54:25 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2007-02-05 20:54:25 +0000
commite24e0fedb97d741ef5ef34a2c38807ef4dd5bf57 (patch)
tree8d7657394a27b86d1458977ba029e801e60261bb /zcat.in
parent2d97657ee315734d908e9008cb9843755bfbc88b (diff)
downloadgzip-e24e0fedb97d741ef5ef34a2c38807ef4dd5bf57.tar.gz
* gunzip.in, zcat.in, zcmp.in, zegrep.in, zfgrep.in: New files.
* Makefile.am (EXTRA_DIST): Add them. (bin_SCRIPTS, MOSTLYCLEANFILES): Add gunzip, zcat, zcmp, zdgrep, zfgrep. (.in): Use GZIP_BINDIR as the location of gzip binaries, if it is set. (check-local): Use GZIP_BINDIR. (install-exec-hook, remove-installed-links): Make 'uncompress' an alias for gunzip. * gzexe.1: At least one arg is required. Don't give cat as an example, since gzexe refuses to compress cat due to a bootstrapping issue. List more utilities in this category. * gzexe.in, zdiff.in, zforce.in, zgrep.in, zless.in, zmore.in, znew.in: Report our name in usage. * gzexe.in: Don't compress bash. Don't use rmdir, so it's OK to compress rmdir. * gzip.c: Now requires that you compile with -DGNU_STANDARD=0 to get non GNU-standard behavior. We now build with GNU-standard behavior by default, so that programs do not depend on the names of their executables. * zdiff.in: Don't depend on the name of the executable, as per GNU standard. Instead, rely on an internal --__cmp option. Support ' in options. Check for failures in subsidiary gzip invocations. * zgrep.1: Clarify compression issues. * zgrep.in: Don't assume POSIX-style case syntax. Remove unused var have_optarg. * zless.1: zless sets LESSMETACHARS now.
Diffstat (limited to 'zcat.in')
-rw-r--r--zcat.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/zcat.in b/zcat.in
new file mode 100644
index 0000000..0ef85cf
--- /dev/null
+++ b/zcat.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+PATH=BINDIR:$PATH
+exec gzip -cd "$@"