Bash common: Difference between revisions

From EggeWiki
m (Created page with '<geshi lang="bash"> ffind () { find . -name ".svn" -prune -o -name "CVS" -prune -o -exec grep -H --color=auto "$@" {} \; } </geshi> Category:Bash')
 
mNo edit summary
 
Line 5: Line 5:
}
}
</geshi>
</geshi>
Note: ack-grep is much better suited to searching through source code: http://betterthangrep.com/


[[Category:Bash]]
[[Category:Bash]]

Latest revision as of 20:18, 14 May 2012

<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/