X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=zmore.in;fp=zmore.in;h=c29f5b2afb055c06fa38e180b7675939a0a1bb10;hb=a8a88eddaa90432e6ec1b8d9d5c9842bc91afd1d;hp=0193a1bb26e1cc849f36cd9ef42ed4e84d6d2f4a;hpb=20fcfc81ece044b8b0a6768ec6cf47be4e22a2e6;p=debian%2Fgzip diff --git a/zmore.in b/zmore.in index 0193a1b..c29f5b2 100644 --- a/zmore.in +++ b/zmore.in @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2001-2002, 2007, 2010-2016 Free Software Foundation, Inc. +# 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 @@ -18,9 +18,9 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. version="zmore (gzip) @VERSION@ -Copyright (C) 2010-2016 Free Software Foundation, Inc. +Copyright (C) 2010-2017 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." @@ -31,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;;