From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j5BHELqZ008978 for ; Sat, 11 Jun 2005 17:14:51 GMT Received: from agriffis by smtp.gentoo.org with local (Exim 4.43) id 1Dh5Ae-0003e2-LF for gentoo-dev@lists.gentoo.org; Sat, 11 Jun 2005 12:33:04 +0000 Date: Sat, 11 Jun 2005 08:48:17 -0400 X-OfflineIMAP-x67333943-64676f73656e64-494e424f582e4f7574626f78: 1118494151-0629393366206-v4.0.8 From: Aron Griffis To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] ekeyword and ordering Message-ID: <20050611124817.GA15882@olive.flatmonk> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20050606222623.GI9084@kaf.zko.hp.com> <200506061841.11356.vapier@gentoo.org> <42A4D308.9030104@gentoo.org> <42A59038.4060108@gentoo.org> <42A60A72.10200@gentoo.org> <1118323176.29369.26.camel@rivendell> <42A8653F.3060409@gentoo.org> <1118415317.13269.31.camel@rivendell> <20050610171930.GD7429@olive.flatmonk> <20050611000425.GA8461@lion.gg3.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <20050611000425.GA8461@lion.gg3.net> User-Agent: Mutt/1.5.8i X-Archives-Salt: 9b9c1b56-68dd-4904-ab54-1e64f1c5d450 X-Archives-Hash: edb63df38ea1a2d2e9bd6103d567c33f --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=utf8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Georgi Georgiev wrote: [Fri Jun 10 2005, 08:04:25PM EDT] > maillog: 10/06/2005-13:19:30(-0400): Aron Griffis types > > Btw, here's an interesting statistic which really doesn't add to (or > > detract from, I hope) this discussion... > >=20 > > grep -hr --include=3D\*.ebuild '^KEYWORDS=3D' /usr/portage | perl -ne ' > > s/[^[:lower:]\s]//; @F =3D split; @S =3D sort @F; $sorted++ if "@F"= eq "@S";=20 > > END { printf "%d%% of ebuilds are sorted (%d/%d)\n", 100*$sorted/$.= , $sorted, $. }' > >=20 > > 49% of ebuilds are sorted (9435/19174) >=20 > Your statistic seems to be flawed on a number of occasions. Assume > KEYWORDS=3D"x86 ppc" >=20 > s/[^[:lower:]\s]//; You wrote a long email to tell me that I forgot /g, I think. ;-) grep -hr --include=3D\*.ebuild '^KEYWORDS=3D' /usr/portage | perl -ne ' s/[^[:lower:]\s]//g; @F =3D split; @S =3D sort @F; $sorted++ if "@F" eq= "@S";=20 END { printf "%d%% of ebuilds are sorted (%d/%d)\n", 100*$sorted/$., $s= orted, $. }' 31% of ebuilds are sorted (6028/19185) Regards, Aron -- Aron Griffis Gentoo Linux Developer --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCqt2RJrHF4yAQTrARAhSIAKC2fyKe9UbPLzYET5kTf0gG6MYzcQCgtDso kPNPCmTCHFj2MuDBU+ylCUU= =L+XP -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU-- -- gentoo-dev@gentoo.org mailing list