diff --git a/rc/bin/g b/rc/bin/g index 8bfb1135d..07914c906 100755 --- a/rc/bin/g +++ b/rc/bin/g @@ -31,7 +31,7 @@ case * files=($files `$nl{walk -f $recurse -- $* \ | grep -e $fullnames -e $suffixes >[2]/dev/null}) if not - files=$(files $f) + files=($files $f) } } grep -n $flags -- $pattern $files /dev/null