Files
i2p.scripts/source/grepall.sh

8 lines
265 B
Bash
Raw Normal View History

2009-11-14 17:40:03 +00:00
#!/bin/bash
#
# grep the source
# maybe grep -R would be better
# add /dev/null to force filename print - seems like there should be a grep option but guess not
#
find . -type f \( -name \*.java -o -name \*.jsp -o -name \*.xml \) -exec grep -i "$@" {} /dev/null \;