Date: Thu, 7 Sep 2006 16:40:59 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Garance A Drosihn <drosih@rpi.edu> Cc: freebsd-current@freebsd.org Subject: Re: Attempt #3, adding a new command 'sfilter' Message-ID: <20060907204058.GA34690@xor.obsecurity.org> In-Reply-To: <p0623094ec12621daa3d9@[128.113.24.47]> References: <200608281545.k7SFjn6l063922@lurza.secnetix.de> <44FF71AD.7060508@FreeBSD.org> <44FF72B9.7000201@elischer.org> <200609071057.44515.jhb@freebsd.org> <p0623094ec12621daa3d9@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060907204058.GA34690>