1. You could use the `cut -d' ' -f2` command to check to see if field 2 of the newly cut variable exists (it cuts up the variable by spaces), if it does, the variable contains spaces.
if [ "$1" = "-h" ]
echo "Help Menu"
you can also check into set -h Help, that would be my quick fix. I'm prefer perl over shell scripting, so those fixes aren't that beautiful, but I hope they help.
Check out TLDP
for more information on shell scripting.