Skip to content

Instantly share code, notes, and snippets.

@slor
Created June 10, 2011 20:21

Revisions

  1. slor revised this gist Aug 24, 2011. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,5 @@
    # ignore binary files
    # show line numbers
    # ignore svn cruft
    grep -rIin foo . | grep -v svn
    # force color
    grep -rIin --color=force foo . | grep -v svn
  2. @invalid-email-address Anonymous created this gist Jun 10, 2011.
    6 changes: 6 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    # grep current directory recursively for foo
    # case-insensitive
    # ignore binary files
    # show line numbers
    # ignore svn cruft
    grep -rIin foo . | grep -v svn