Merge remote branch 'arlpc33/master'

This commit is contained in:
Josh Holtrop 2011-03-04 13:46:39 -05:00
commit 819eaa1fda

8
grepid
View File

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