bin/sgrep

12 lines
238 B
Bash
Executable File

#!/bin/sh
grep --binary-files=without-match \
--exclude-dir=CVS \
--exclude-dir=.svn \
--exclude-dir=.hg \
--exclude-dir=.git \
--exclude '*~' \
--exclude '.#*' \
--exclude '#*' \
--exclude '*-' \
"$@"