read读取用户输入 read option variable option -p 输入提示 -t 等待时间,单位秒,超过这个时间退出输入,不指定-t则一直等待。 把用户输入的内容赋值给variable 例子