from /usr/bin/apropos:

...
aproposgrepopt1='ia'
aproposgrepopt2='a'
whatisgrepopt1='iwa'
whatisgrepopt2='^'
grepopt1=$aproposgrepopt1
grepopt2=$aproposgrepopt2
...
if grep -"$grepopt1"q "$grepopt2""$1" $d/whatis > /dev/null
...
if grep -"$grepopt1" "$grepopt2""$1" $d/whatis
...


aproposgrepopt2='a' seems to be a typo? I guess it should be an empty string.


Reply via email to