Just discovered a faster, prettier, simpler and more efficient tool for searching through source code from the command line: ack. It's a simple perl script so can run on any system with Perl 5.8.8 or later installed.