From: g w on
I have a problem with whatis giving me 3 results for each
command I ask it for. For example, this happens:
homemachine ~$ whatis whatis
whatis [] (1) - search the whatis database for complete words
whatis [] (1) - search the whatis database for complete words
whatis [] (1) - search the whatis database for complete words

It was working OK until I started messing around with makewhatis.
The last command I ran to create the whatis database was
homemachine ~$ makewhatis -v /usr/man /usr/local/man /usr/local/share/
man
Before that I tried
homemachine ~$ makewhatis -v -w
but realized there were only 3 real directories in 'man --path'. Two
were
symlinks to /usr/man. I thought specifying only the real directories
would fix the problem, but obviously I was wrong.

Does anyone know what is causing this problem?
From: Auric__ on
On Mon, 22 Feb 2010 16:57:41 GMT, g w wrote:

> I have a problem with whatis giving me 3 results for each
> command I ask it for. For example, this happens:
> homemachine ~$ whatis whatis
> whatis [] (1) - search the whatis database for complete words
> whatis [] (1) - search the whatis database for complete words
> whatis [] (1) - search the whatis database for complete words
>
> It was working OK until I started messing around with makewhatis.
> The last command I ran to create the whatis database was
> homemachine ~$ makewhatis -v /usr/man /usr/local/man /usr/local/share/
> man
> Before that I tried
> homemachine ~$ makewhatis -v -w
> but realized there were only 3 real directories in 'man --path'. Two
> were
> symlinks to /usr/man. I thought specifying only the real directories
> would fix the problem, but obviously I was wrong.
>
> Does anyone know what is causing this problem?

Have you tried just 'makewhatis'?

--
Of all the things you took away, I miss my mind the most.