bin/sgrep

12 lines
241 B
Bash
Executable File

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