Attempt #3, adding a new command 'sfilter'

Kris Kennaway kris at obsecurity.org
Thu Sep 7 13:42:15 PDT 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060907/fa90379e/attachment.pgp


More information about the freebsd-current mailing list