Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while getopts h name
- do
- case $name in
- h) humanOpt=1;;
- esac
- done
- #TESTING HERE
- echo "$humanOpt"
- if[[ ! -z $humanOpt]]; then
- human version
- else
- computer version
- fi
- bash IProject.sh -h
- if [[ ! -z $humanOpt ]]; then # here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement