#!/bin/sh - if [ $# -lt 2 ]; then echo "$0: too few command-line arguments. Usage: $0 [ ...]" >&2 exit 1 fi command="$1"; shift last="$1"; shift exec "$command" "$@" "$last"