Date: Mon, 30 Apr 2001 00:10:08 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Dan Larsson <dl@tyfon.net> Cc: FreeBSD Stable List <stable@FreeBSD.ORG> Subject: Re: Bug in sort(1) on FreeBSD-4.3 STABLE? Message-ID: <20010430001008.B10458@xor.obsecurity.org> In-Reply-To: <20010430085951.B69265-100000@hq1.tyfon.net>; from dl@tyfon.net on Mon, Apr 30, 2001 at 09:06:00AM %2B0200 References: <20010430085951.B69265-100000@hq1.tyfon.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Mon, Apr 30, 2001 at 09:06:00AM +0200, Dan Larsson wrote:
>
> % awk '{print $4}' /var/log/cache/access.log | sort | \
> uniq -c | sort -r | head
> 4948 TCP_MEM_HIT/200
> 3963 TCP_MISS/304
> 3666 TCP_MISS/302
> 3640 TCP_REFRESH_HIT/200
> 31988 TCP_MISS/200
> 2973 TCP_MISS/206
> 2503 TCP_HIT/200
> 1799 TCP_MISS/000
> 1563 TCP_REFRESH_MISS/200
> 13568 TCP_IMS_HIT/304
>
> This seems to me as some sort of bug. Please correct me if I'm wrong.
I'm not sure what you're claiming to be the bug: those entries look to
be correctly sorted in reverse ascii order. Perhaps you wanted
sort -n?
Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (FreeBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE67Q/QWry0BWjoQKURAssbAKDJtkwySRoTflySXIKA4GBjmVR0oACg6Ay7
qrpQo+4hFKpwFda/lVu1JxU=
=niMs
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010430001008.B10458>
