Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2012 20:37:11 -0400
From:      Mike Meyer <mwm@mired.org>
To:        <hackers@freebsd.org>
Subject:   Re: Better error messages for command not found (was Re: Pull in upstream before 9.1 code freeze?)
Message-ID:  <20120704203711.2732b645@bhuda.mired.org>
In-Reply-To: <4FF4E105.50502@FreeBSD.org>
References:  <86bojxow6x.fsf@ds4.des.no> <4FF35864.5030109@FreeBSD.org> <CAC8HS2Hx%2BqV1zYSzyM6wYzbyA6BStd3HEwc-VDhv40DHM=qCvw@mail.gmail.com> <CAOjFWZ5ikPz_yDhEQutiXVG354qRHYJTn-M_S4Cx-=YRgFP7eQ@mail.gmail.com> <20120704185104.GA42355@DataIX.net> <4FF4B36A.2040608@FreeBSD.org> <20120704180134.7c649e1b@bhuda.mired.org> <4FF4BEED.10103@FreeBSD.org> <20120704225519.GB19945@DataIX.net> <4FF4CAD1.8080804@FreeBSD.org> <20120704234104.GA392@DataIX.net> <8E9DECBB-3D1E-4129-A958-9DB0DF69ECC3@kientzle.com> <4FF4E105.50502@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 04 Jul 2012 17:34:13 -0700
Doug Barton <dougb@FreeBSD.org> wrote:
> > As a first prototype, the database could just be a text file
> > and the look up program could be a shell script that uses
> > grep and sed.
> Right-O. The db should almost certainly be updated and distributed as
> part of the (already automated) INDEX generation and distribution process.

There are already tools in the ports tree that do the
search. Personally, I use portsearch. Tweaking them to use INDEX (or
tweaking the makefile to generate their database with INDEX) should be
straightforward.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/
Independent Software developer/SCM consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



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