Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / miscellany / compress-4.0 / uncompressdir
1 OPTIONS=
2 FILES=
3 for ARG
4 do
5         case "$ARG" in
6         -*)     OPTIONS="$OPTIONS $ARG";;
7         *)      FILES="$FILES $ARG";;
8         esac
9 done
10 if test -z "$FILES"; then
11         FILES="."
12 fi
13 set $FILES
14 find $@ -type f -links 1 -exec test -r {} -a -s {} \; \
15 -exec expr {} : '.*\.Z' \; \
16 -exec uncompress $OPTIONS {} \; >/dev/null