docs/85986: FreeBSD keyword missing if you display security(7) with apropos

Leonidas Tsampros ltsampros at upnet.gr
Mon Sep 12 07:46:26 UTC 2005


On Sun, Sep 11, 2005 at 09:00:36PM +0000, Simon L. Nielsen wrote:
> The following reply was made to PR docs/85986; it has been noted by GNATS.
> 
> From: "Simon L. Nielsen" <simon at FreeBSD.org>
> To: Matthias Schmidt <schmidtm at mathematik.uni-marburg.de>
> Cc: freebsd-gnats-submit at FreeBSD.org
> Subject: Re: docs/85986: FreeBSD keyword missing if you display security(7) with apropos
> Date: Sun, 11 Sep 2005 22:54:09 +0200
> 
>  --8t9RHnE3ZwKMSgU+
>  Content-Type: text/plain; charset=us-ascii
>  Content-Disposition: inline
>  Content-Transfer-Encoding: quoted-printable
>  
>  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 "Fr=
>  eeBSD" is missing,
>  >=20
>  > matthias at 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.
>  
>  --=20
>  Simon L. Nielsen

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.
 





More information about the freebsd-doc mailing list