if [ $# -eq 0 ]
then
echo "使用说明:telp -q,查询;telp -a,增加."
exit
fi
if [ $1 = -q ]
then
echo -n "请输入姓名(编号、地址或电话号码):"
read a
grep $a telp
fi
if [ $1 = -a ]
then
echo -n "请输入姓名、编号、地址和电话号码:"
read d e f g
echo "# $d $e $f $g\n">>telp
fi
setcolor -n
# sdccf ccf chfj 2320491
# test 123 yzj 2323232
jysww 回复于:2003-02-19 22:29:21 |
有创意,不愧是斑竹。:) |
sdccf 回复于:2003-02-19 22:31:01 |
多年以前的东西了. |
bookhf 回复于:2003-09-01 14:57:55 |
? |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/