grep

Linux grep的用法

2011-03-11 gaoch
在文件夹中搜索其中的js文件 […] [bash]grep function *.js[/bash] 在当前文件夹和子文件夹中搜索所有文件 [bash]grep -d recurse -i ‘function_input’ *[/bash] 注意,在此处使用*.*和*,结果会有所不同。 从文件中读取**Pattern** [bash]grep -f pattern_file … 阅读全文 →