Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.17
Disable Function : NONE
Directory :  /usr/bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/bin/compress-dummy
#! /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

haha - 2025