using grin

  • I just discovered grin, "grep my way"

Warning

This post is certainly obsolete...

  • install:

    sudo easy_install grin
    
  • search recursively

    grin  expression
    
  • search recursively in a specific directory

    grin  expression /this/directory
    
  • search recursively python files

    grin -I "*.py"  expression
    

Comments

Comments powered by Disqus