LinuxSir.cn,穿越时空的Linuxsir!

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

shell 求助

[复制链接]
发表于 2006-3-27 17:41:18 | 显示全部楼层 |阅读模式
echo $CXBASE.[0-9].[0-9].[0-9]* | tr ' ' '\012' \
                | sort $sort_flag -r -t. +1 -2 +2 -3 +3 -4 \
                | grep -v 'busy' \
                | head -1`

这段脚本会出错,为什么呀
echo $CXBASE.[0-9].[0-9].[0-9]* | tr ' ' '\012' \
                | sort $sort_flag -r -t. +1 -2 +2 -3 +3 -4 \
                | grep -v 'busy' \
                | head -1`
./fluent: line 3600: unexpected EOF while looking for matching ``'
./fluent: line 3878: syntax error: unexpected end of file
发表于 2006-3-27 23:31:38 | 显示全部楼层
don't see the other `. Better use $() structure.
回复 支持 反对

使用道具 举报

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

本版积分规则

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