LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 599|回复: 2

帮忙看一下这个脚本

[复制链接]
发表于 2006-7-1 11:22:15 | 显示全部楼层 |阅读模式
count=0
while [$count -eq 0]
do
if [`data +%|` = 5]
then
$count=1
else
echo "the  time is  not right"
#wget -O $1 $2
fi
done
 楼主| 发表于 2006-7-1 11:23:31 | 显示全部楼层
-n 检测提示没错
可执行的时候提示  [0: command not found
回复 支持 反对

使用道具 举报

发表于 2006-7-1 15:11:42 | 显示全部楼层
中括号要跟它旁边东西用空格分开.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表