Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2005 10:46:21 +0000
From:      Leonidas Tsampros <ltsampros@upnet.gr>
To:        "Simon L. Nielsen" <simon@freebsd.org>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: docs/85986: FreeBSD keyword missing if you display security(7) with apropos
Message-ID:  <20050912104621.GA12835@bifteki.lan>
In-Reply-To: <200509112100.j8BL0asq017028@freefall.freebsd.org>
References:  <200509112100.j8BL0asq017028@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
> To: Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
> Cc: freebsd-gnats-submit@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@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.
 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050912104621.GA12835>