-
-
Read About
ActionScript3 adobe flex Ajax apache band bash csrf custom Facebook API flash flex GeSHi highlight javascript jquery linux marketing Music myspace MySQL os x Photoshop php plugin profile rails rounded rounded corners ruby Ruby On Rails rubyonrails scripts Software statistics syntax syntax-highlight testing time_select validation widget wordpress work wp-syntax XHTML/CSS XML -
Facebook Me
Tony Amoyal's Profile

Ignore svn directories while you grep
I have seen a lot of posts that show you how to ignore svn files when you grep. However, there seems to be more demand for a script that ignores svn directories. Here is one option:
Just add the function to one of your bash config files (~/.bashrc, ~/.bash_profile, ~/.bash_login), restart your terminal, and you are good to go. Here is a great article about how bash configs work. I put tgrep() in my .bashrc file, but also added the following to .bash_profile to force my .bashrc to load.
. ~/.bashrcIf you enjoyed this post, make sure you subscribe to my RSS feed!