From owner-freebsd-current@FreeBSD.ORG Thu Sep 7 20:42:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8ABB416A4DD; Thu, 7 Sep 2006 20:42:15 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01E9943DC3; Thu, 7 Sep 2006 20:41:05 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 941921A4D86; Thu, 7 Sep 2006 13:41:01 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 89E1851578; Thu, 7 Sep 2006 16:40:59 -0400 (EDT) Date: Thu, 7 Sep 2006 16:40:59 -0400 From: Kris Kennaway To: Garance A Drosihn Message-ID: <20060907204058.GA34690@xor.obsecurity.org> References: <200608281545.k7SFjn6l063922@lurza.secnetix.de> <44FF71AD.7060508@FreeBSD.org> <44FF72B9.7000201@elischer.org> <200609071057.44515.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: Attempt #3, adding a new command 'sfilter' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 20:42:15 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 07, 2006 at 04:12:56PM -0400, Garance A Drosihn wrote: > At 10:57 AM -0400 9/7/06, John Baldwin wrote: > >On Wednesday 06 September 2006 21:15, Julian Elischer wrote: > > > > >> perl is not lightweight to install on a machine. > >> have you seen how much crap gets installed when you add perl? > >> > >> lightweight is adding 100 instructions or so to 'date'. > >> or adding the strftime instruction to awk (as it is in gawk) > > > >Why not install the gawk port on the machines you need this on > >rather than perl and use gawk then? It doesn't look to be that > >heavyweight of a port. >=20 > It seems reasonable to me to add a strftime() (and maybe a few other > features) to our base-system awk. But look at what happens if we > install gawk: >=20 > -r-xr-xr-x 2 root wheel 115732 May 29 21:01 /usr/bin/awk* > -r-xr-xr-x 2 root wheel 1201108 Sep 7 15:39 /usr/local/bin/gawk* xor# ls -l `which gawk` -r-xr-xr-x 2 root wheel 225232 Sep 7 16:40 /usr/local/bin/gawk xor# ls -l `which awk` -r-xr-xr-x 2 root wheel 123260 May 16 13:58 /usr/bin/awk Kris --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFAIPaWry0BWjoQKURAuhjAKCSSy1pH9/ET3A26AbbQunaaaZ2jACg+r7F I/GMqHgHt/JXkZzAPb8HvOE= =XUcx -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--