On 2005-09-12 10:46, Leonidas Tsampros <ltsampros@upnet.gr> wrote:
>On Sun, Sep 11, 2005 at 09:00:36PM +0000, Simon L. Nielsen wrote:
>>On 2005.09.11 20:12:46 +0000, Matthias Schmidt wrote:
>>
>>> If you type apropos security to get the security(7) man page the
>>> word "FreeBSD" is missing,
>>>
>>> matthias@c0re:/ % apropos security
>>> security(7) - introduction to security under
>>> ^^^^
>>
>> I would say this should be fixed in apropos rather than adding a
>> workaround to a specific manual page, especially since I would
>> suspect that other manual pages are also affected.
>>
>> That said, I have no idea how complicated it would be to fix it in
>> apropos.
>
> I took a look to src/gnu/usr.bin/man/apropos/apropos.sh , and really
> apropos is nothing more than a grep -Ehi. The problem is that grep is
> just working right. It doesn't find the word 'FreeBSD' in the
> description line (where it got the 'security' match) so grep cannot
> display that word.
True.
This would still work fine, though, if catman(1) was smart enough to
extract the full text of the NAME line, even if the NAME line contains
groff macro calls.
_______________________________________________
freebsd-doc@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"