diff --git a/rc/bin/g b/rc/bin/g index 566ff5eb7..46b57dbeb 100755 --- a/rc/bin/g +++ b/rc/bin/g @@ -24,6 +24,6 @@ case 1 case * pattern=$1 shift - files=($*) + files=`$nl{walk -f $recurse -- $*} } grep -n $flags -- $pattern $files /dev/null