0
该字符串要在Linux为包含的字符串的文件搜索文件,一个通常会使用:使用具有字符串文本文件中搜索包含在Linux中
grep "search string" *
但是,如果你不是想传递什么一个文件(如mySearchString.txt,显然会包含字符串“搜索字符串” - 没有双引号...除非他们或单引号是必需的?)grep它用于搜索该字符串?
grep <mySearchString.txt *
似乎不工作...
可能的重复[如何使文件中的“grep”读取模式?](http://stackoverflow.com/questions/7027306/how-to-make-grep -read-patterns-from-a-file) –
或者[如何用单词列表grep](http://stackoverflow.com/questions/17863301/how-to-grep-with-a-list-of-话) –