Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2000 12:27:39 -0800
From:      "Crist J. Clark" <cjclark@reflexnet.net>
To:        Roger Marquis <marquis@roble.com>
Subject:   OT: Re: Security Update Tool..
Message-ID:  <20001217122739.J96105@149.211.6.64.reflexcom.com>
In-Reply-To: <Pine.BSF.4.21.0012170918520.16618-100000@roble.com>; from marquis@roble.com on Sun, Dec 17, 2000 at 09:26:56AM -0800
References:  <Pine.BSF.4.21.0012162228020.12522-100000@roble.com> <Pine.BSF.4.21.0012170918520.16618-100000@roble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 17, 2000 at 09:26:56AM -0800, Roger Marquis wrote:
> > Before reinventing the wheel interested developers might check the
> > reference implementation, Sun's Patchdiag:
> > 
> >  http://sunsolve.Sun.COM/private-cgi/show.pl?target=resources/patchdiag
> > 
> > (NOTE: this URL does require a SunSolve account)
> 
> The version id for FreeBSD ports would probably come from something like:
> 
>   grep "@name" /var/db/pkg/*/+CONTENTS | awk '{print $NF}'

Pet peeve. Why do people pipe grep to awk?

    awk '/@name/ { print $NF }' /var/db/pkg/*/+CONTENTS

-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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