页面

2011-03-31

grep

  • Looking for `foo' in file `bar.txt':
    $ grep 'foo' bar.txt
  • Recursively looking for `foo' in all java source under current directory:
    $ grep -r --include="*.java" foo .

没有评论: