repo.or.cz
/
sgn-devtools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
don't background the editor if we are not under X
[sgn-devtools.git]
/
codegrep
blob
bc062c47a0dd02acdad9a5ea3dd74a191b00daca
1
#!/bin/sh
2
find
.
-iregex
".*\.\(c\|cc\|php\|h\|hh\|cpp\|html\|pl\|pm\|cgi\|txt\|js\|css\|t\|inc\|module\|engine\)$"
-exec
grep
-iHn --
"
$1
"
{}
';'
| perl
-pe
's/(\S):/
$1
:/g; s/:(\S)/:
$1
/g'