#!/bin/sh
# @(#) $Revision: 66.1 $    

# chdir to /star so that find will not fail for various reasons
cd /star

OPTIONS=
FILES=
for ARG
do
	case "$ARG" in
	-*)	OPTIONS="$OPTIONS $ARG";;
	*)	FILES="$FILES $ARG";;
	esac
done
: ${FILES:=.}			# default to current directory
set $FILES
find $@ -type f -links 1 -size +0 -perm -400 ! -name '*.Z' \
	-exec /star/e${STAR_VER}/misc/compress $OPTIONS {} \; >/dev/null
