0 unix bash shell
我想在unix中运行一个脚本,它将在传递的参数中查找特定的模式.在所有情况下,论证都是一个单词.我不能使用grep,因为grep只能用于搜索文件.有没有更好的unix命令可以帮助我?
atk*_*atk 5
Grep可以搜索文件,或者它可以在stdin上工作:
$ echo "this is a test" | grep is this is a test
归档时间:
15 年,4 月 前
查看次数:
783 次
最近记录:
13 年,5 月 前