Smi*_*his 1 unix bash shell
任何人都可以告诉我这将是什么问题?我知道这是一个半秒问题,但请帮助:) egrep "first" a.sh && egrep "second" a.sh工作,a.sh包含第一,第二,第三等.. Thx!
egrep "first" a.sh && egrep "second" a.sh
if [[ egrep "first" a.sh && egrep "second" a.sh ]]; then echo "success" fi
Ign*_*ams 8
您的问题是您正在使用该[[命令.只使用greps.
[[
if egrep ... && egrep ... ; then
归档时间:
13 年,2 月 前
查看次数:
2636 次
最近记录: