| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/bin/ |
Upload File : |
#! /bin/bash
# compress dummy script for uncompressing legacy shar files.
# Copyright (C) 2002, 2006 Free Software Foundation, Inc.
# Karl Eichwalder <ke@suse.de>, 2002.
package="sharutils"
version="4.7"
progname=`echo $0 | sed -e 's,.*/,,'`
usage="\
Usage: $progname OPTION FILE
Replacement script for uncompressing legacy shar files.
with OPTION in:
--help display this help and exit
--version output version information and exit
-d uncompress
Use \`gzip' for compressing files."
while test $# -gt 0; do
case $1 in
-d) mode=$1; shift ;;
# -x) trace=-x; set -x; shift ;;
--v* ) echo "$progname - $package $version"; exit 0 ;;
--h* ) echo "$usage"; exit 0 ;;
-) break ;;
-*) echo "Try \`$progname --help' for more information."; exit 1 ;;
*) break
esac
done
if test -z "$mode"; then
exec 1>&2
cat <<_EOF_
This is not compress.
This is a replacement script that invokes \`gzip -d' for uncompressing
files compressed with the compress program.
Try \`$progname --help' for more information.
_EOF_
exit 1
fi
gzip -d
exit $?
# compress-dummy.in ends here