One for all,all for one.
2014年10月26日 星期日
grep pattern from a string
$ grep -q xxxx <<< $str
$ echo $?
References :
bash - shell script grep to grep a string - Stack Overflow
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言