test for arguments (posix)

test $# -gt 0 || { echo "need arguments" ; exit 1 ; }