1 2 3 4 5 6 7 8 9 10 11
#! /bin/sh - if [ $# -eq 0 ]; then env exit elif eval [ "\${$1-unset}" = "unset" ]; then exit 1 else eval echo \$$1 exit 0 fi