X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=zmore.in;h=c5550f5597bab01543ed665f69d4ca20ba41d481;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=764845a6f42e2c3b851ecb1948ddc9b4d9e06417;hpb=d57728a6ca2413a7c564d8b7bb13d9e5a5a180f3;p=debian%2Fgzip diff --git a/zmore.in b/zmore.in index 764845a..c5550f5 100644 --- a/zmore.in +++ b/zmore.in @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2001, 2002, 2007, 2010 Free Software Foundation +# Copyright (C) 2001-2002, 2007, 2010-2018 Free Software Foundation, Inc. # Copyright (C) 1992, 1993 Jean-loup Gailly # This program is free software; you can redistribute it and/or modify @@ -17,16 +17,10 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -bindir=@bindir@ -case $1 in ---__bindir) bindir=${2?}; shift; shift;; -esac -PATH=$bindir:$PATH; export PATH - version="zmore (gzip) @VERSION@ -Copyright (C) 2010-2013 Free Software Foundation, Inc. +Copyright (C) 2010-2018 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of -the GNU General Public License . +the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. Written by Jean-loup Gailly." @@ -37,8 +31,8 @@ Like 'more', but operate on the uncompressed contents of any compressed FILEs. Report bugs to ." case $1 in - --h*) exec printf '%s\n' "$usage";; - --v*) exec printf '%s\n' "$version";; + --h*) printf '%s\n' "$usage" || exit 1; exit;; + --v*) printf '%s\n' "$version" || exit 1; exit;; --) shift;; -?*) printf >&2 '%s\n' "$0: $1: unknown option; try '$0 --help' for help" exit 1;;