files/grepid
2011-03-04 13:45:35 -05:00

9 lines
147 B
Bash
Executable File

#!/bin/bash
id="$1"
where="$2"
if [[ "$where" == "" ]]; then
where=.
fi
exec grep --exclude-dir .svn --color=auto -R '\<'"${id}"'\>' ${where}