中国Linux公社论坛's Archiver
论坛
›
命令行使用小技巧与SHELL编程
› read 星号
BOoRFGOnZ
发表于 2008-7-29 10:58:54
read 星号
while :
do
read -s -n1 reply1
reply2=$reply2$reply1
[ $reply1 ]||break
echo -n '*'
done
echo "$reply2"
页:
[1]
查看完整版本:
read 星号