Red Hat Bugzilla – Bug 60131
Apropos broken; passes bad arguments to grep.
Last modified: 2007-04-18 12:40:30 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204
Description of problem:
apropos is broken in man-1.5j-2 (a rawhide package, but I believe it was also
broken in standard 7.2). The problem is setting aproposgrepopt2='a' at the top
of the script--this grepopt needs to be empty because it is pasted before the
token we are searching for (eg, 'apropos man' will grep for 'aman' with this
option set as is. the whatisgrepopt2 is fine--the '^' option gets pasted before
the token and we grep for '^man' which does what we want.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. apropos ncftp
Actual Results: You get no results (unless you have a program called 'ancftp'
on your machine).
Expected Results: Should have returned a list of all man pages with 'ncftp' in
Thanks, fixed in 1.5j-3