[ "$#" -lt 1 ] && {
  printf '%b\n' "\n\tUsage:  ${0##/*/} [file]\n"
  exit 1
}

# require at least two arguments
if [ "$#" -lt 2 ]; then
  printf >&2 '%s: Need an arguments file and a command\n' "$(basename "$0")"
  exit 2
fi
