summaryrefslogtreecommitdiff
path: root/bin/grephdr.sh
blob: dd9050335c4fbb2454fd678e4b98dee770b94d3b (plain)
1
2
3
4
#!/bin/sh
# This script is in the public domain.
# grepsrc.sh string  --- greps for string over all header files
find . -name "*.h" -print | grep -v "#" | xargs grep "$@"