#!/bin/bash ( OPTSTR="" if [ "$1" == "-?" ] then echo "Options Selected:" cat else while read opt do OPTSTR="$OPTSTR `echo $opt | awk '{ print $1 }'`" done echo indent $OPTSTR "$@" indent $OPTSTR "$@" fi )<