Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2006 14:55:39 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Garance A Drosehn <gad@freebsd.org>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Attempt #3, adding a new command 'sfilter'
Message-ID:  <200609081455.40219.jhb@freebsd.org>
In-Reply-To: <20060908012239.GA37974@xor.obsecurity.org>
References:  <200608281545.k7SFjn6l063922@lurza.secnetix.de> <p06230953c1263ba3af13@[128.113.24.47]> <20060908012239.GA37974@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 07 September 2006 21:22, Kris Kennaway wrote:
> On Thu, Sep 07, 2006 at 05:15:51PM -0400, Garance A Drosehn wrote:
> > At 4:40 PM -0400 9/7/06, Kris Kennaway wrote:
> > >On Thu, Sep 07, 2006 at 04:12:56PM -0400, Garance A Drosihn wrote:
> > > > 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
> > 
> > Huh.  I wonder why there's such a difference.  All I did was
> > 
> >       portinstall -N gawk
> > 
> > on my FreeBSD 5.x-ish machine (I did it there just because I had a
> > root-session already open on that machine).  I've never installed
> > gawk before.  Uname:
> 
> Most of the bloat appears to be from gettext.

Which is configurable from reading the port Makefile, so Julian can do:

cd /usr/ports/lang/gawk
make WITHOUT_NLS=yes package

and have a small gawk package to install on his boxes. :)

-- 
John Baldwin



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