rwxrob-dot/scripts/grepall

9 lines
205 B
Plaintext
Raw Normal View History

2022-02-09 07:29:05 +00:00
#!/bin/sh
find . \
-name '.git' \
-prune -o \
-exec grep -i --color=always "$1" {} \
/dev/null \
2>/dev/null \;