-PATH="BINDIR:$PATH"
-x=`basename $0`
-if test $# = 0; then
- echo compress executables. original file foo is renamed to foo~
- echo usage: ${x} [-d] files...
- echo " -d decompress the executables"
- exit 1
-fi
+version='gzexe (gzip) @VERSION@
+Copyright (C) 2007, 2011-2012 Free Software Foundation, Inc.
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Jean-loup Gailly.'
+
+usage="Usage: $0 [OPTION] FILE...
+Rename each FILE with a compressed version of itself, renaming FILE to FILE~.
+
+ -d Decompress each FILE instead of compressing it.
+ --help display this help and exit
+ --version output version information and exit
+
+Report bugs to <bug-gzip@gnu.org>."