--if test $# -eq 0; then
-+if [ $# -eq 0 ]; then
- printf >&2 '%s\n' "$0: missing operand
- Try \`$0 --help' for more information."
- exit 1
-@@ -74,7 +74,7 @@
-
- tmp=
- trap 'res=$?
-- test -n "$tmp" && rm -f "$tmp"
-+ [ -n "$tmp" ] && rm -f "$tmp"
- (exit $res); exit $res
- ' 0 1 2 3 5 10 13 15
-
-@@ -85,22 +85,22 @@
- -*) file=./$i;;
- *) file=$i;;
- esac
-- if test ! -f "$file" || test ! -r "$file"; then
-+ if [ ! -f "$file" ] || [ ! -r "$file" ]; then
- res=$?
- printf >&2 '%s\n' "$0: $i is not a readable regular file"
- continue
- fi
-- if test $decomp -eq 0; then
-+ if [ $decomp -eq 0 ]; then
- if sed -e 1d -e 2q "$file" | grep "^skip=[0-9][0-9]*$" >/dev/null; then
- printf >&2 '%s\n' "$0: $i is already gzexe'd"
- continue
- fi
- fi
-- if test -u "$file"; then
-+ if [ -u "$file" ]; then
- printf >&2 '%s\n' "$0: $i has setuid permission, unchanged"
- continue
- fi
-- if test -g "$file"; then
-+ if [ -g "$file" ]; then
- printf >&2 '%s\n' "$0: $i has setgid permission, unchanged"
- continue
- fi
-@@ -112,10 +112,10 @@
- printf >&2 '%s\n' "$0: $i might depend on itself"; continue;;
- esac
-
-- dir=`dirname "$file"` || dir=$TMPDIR