Bash common
<geshi lang="bash"> ffind () {
find . -name ".svn" -prune -o -name "CVS" -prune -o -exec grep -H --color=auto "$@" {} \;
} </geshi>
Note: ack-grep is much better suited to searching through source code: http://betterthangrep.com/
<geshi lang="bash"> ffind () {
find . -name ".svn" -prune -o -name "CVS" -prune -o -exec grep -H --color=auto "$@" {} \;
} </geshi>
Note: ack-grep is much better suited to searching through source code: http://betterthangrep.com/