Greping for code with syntax hightlighting
When you're looking for something in code from the command line
try piping to pygmentize
grep -R 'def index' app/**/*rb | pygmentize -l ruby
Written by João Veiga
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Grep
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#