#!/bin/sh if [ $# -eq 0 ] then exec /bin/ps fi ARG1="${1#-}" shift if [ $# -eq 0 ] then exec /bin/ps "$ARG1" fi exec /bin/ps "$ARG1" "$@"