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>
next in thread | previous in thread | raw e-mail | index | archive | help
--s2ZSL+KKDSLx8OML Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 30, 2001 at 09:06:00AM +0200, Dan Larsson wrote: >=20 > % 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 >=20 > 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 --s2ZSL+KKDSLx8OML Content-Type: application/pgp-signature Content-Disposition: inline -----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----- --s2ZSL+KKDSLx8OML-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010430001008.B10458>