OPTIONS=
FILES=
for ARG
    do	case "$ARG" in
	   -*)	OPTIONS="$OPTIONS $ARG";;
	   *)	FILES="$FILES $ARG";;
	esac
done
if [ -z "$FILES" ]
   then	FILES="."
fi
set $FILES

if [ ! -r $@ ]			# file doesn't exist?
   then exit 1
fi

find $@ -type f -links 1 -name '*.Z' -print |
   xargs nice uncompress $OPTIONS
