find . -name “*.php” -exec grep “select.*database” {} \;

find php or html files

find . -name “*.[Pp][Hh][Pp]” find . -name “*.[Hh][Tt][Mm]*” 

cgrep contextual grep

 
info/find_grep.txt · Dernière modification: 2008/11/24 22:13 (modification externe)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki