Craig Sanders <cas@taz.net.au> writes: > if [ -z "$@" ] ; then This should use "$*" -- otherwise each package name becomes a separate parameter, and "[" barfs.