Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/vim/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Search 在文件列表中搜索_Search_Full Text Search_Grep_Cscope - Fatal编程技术网

Search 在文件列表中搜索

Search 在文件列表中搜索,search,full-text-search,grep,cscope,Search,Full Text Search,Grep,Cscope,我有一个巨大的C源文件和头文件列表,实际上是一个自动生成的“cscope.files”文件 有没有办法在所有这些文件中搜索字符串(而不是C符号) 这些文件分布在一个巨大的网络文件系统中,我不想在该系统的根目录中递归地grep 我使用Red Hat Enterprise Linux和gvim(+cscope)进行开发。任何vim、python(2.3)或shell解决方案都可以。实际上cat cscope.files | xargs grep“string”解决了我的问题。谢谢 find . -n

我有一个巨大的C源文件和头文件列表,实际上是一个自动生成的“cscope.files”文件

有没有办法在所有这些文件中搜索字符串(而不是C符号)

这些文件分布在一个巨大的网络文件系统中,我不想在该系统的根目录中递归地grep


我使用Red Hat Enterprise Linux和gvim(+cscope)进行开发。任何vim、python(2.3)或shell解决方案都可以。

实际上cat cscope.files | xargs grep“string”解决了我的问题。谢谢
find . -name '*.c'|xargs grep "some string"