CHips L MINI SHELL

CHips L pro

Current Path : /usr/bin/
Upload File :
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

Copyright 2K16 - 2K18 Indonesian Hacker Rulez