# delete -q if its not (y/n [n]) read -q VARIN?"PROMPT_MSG" read -q "VARIN?PROMPT_MSG" #both style works, I prefer the first echo $VARIN # for test