Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2006 18:19:56 -0300
From:      Ricardo Nabinger Sanchez <rnsanchez@gmail.com>
To:        Garance A Drosehn <gad@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Attempt #3, adding a new command 'sfilter'
Message-ID:  <20060907181956.3b6f69eb.rnsanchez@gmail.com>
In-Reply-To: <p06230953c1263ba3af13@[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]> <20060907204058.GA34690@xor.obsecurity.org> <p06230953c1263ba3af13@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Sep 2006 17:15:51 -0400, Garance A Drosehn <gad@FreeBSD.org>
wrote:

> >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

Difference confirmed on 6.1-RELEASE too:

% ls -l `which gawk` `which awk`
-r-xr-xr-x  2 root  wheel   119164 May  7 00:59 /usr/bin/awk*
-r-xr-xr-x  2 root  wheel  1206332 Sep  7 17:20 /usr/local/bin/gawk*

All I did was "cd /usr/ports/lang/gawk && make install clean".  Just for
the record:

% file `which gawk` `which awk`
/usr/local/bin/gawk: ELF 32-bit LSB executable, Intel 80386, version 1
(FreeBSD), dynamically linked (uses shared libs), stripped
/usr/bin/awk:        ELF 32-bit LSB executable, Intel 80386, version 1
(FreeBSD), dynamically linked (uses shared libs), stripped

Both are stripped, so there's no cheating -- not that I'm aware of, at
least.

-- 
Ricardo Nabinger Sanchez     <rnsanchez@{gmail.com,wait4.org}>
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."




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