9 lines
147 B
Bash
Executable File
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}
|