Re: Attempt #3, adding a new command 'sfilter'

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Thu, 7 Sep 2006 16:40:59 -0400
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.
> 
> 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:
> 
> -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
Received on Thu Sep 07 2006 - 18:42:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC