diff --git a/grepid b/grepid index 2b30d58..41cd828 100755 --- a/grepid +++ b/grepid @@ -1,8 +1,5 @@ #!/bin/bash id="$1" -where="$2" -if [[ "$where" == "" ]]; then - where=. -fi -exec grep --exclude-dir .svn --color=auto -R '\<'"${id}"'\>' ${where} +shift +exec grep --exclude-dir .svn --color=auto -R '\<'"${id}"'\>' "$@"