📅  最后修改于: 2022-03-11 14:50:25.230000             🧑  作者: Mango
# 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