From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tiger.gg3.net (142.13.111.219.st.bbexcite.jp [219.111.13.142]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j5C0dVDr014167 for ; Sun, 12 Jun 2005 00:39:32 GMT Received: (qmail 30612 invoked by uid 1000); 12 Jun 2005 09:39:41 +0900 Date: Sun, 12 Jun 2005 09:39:41 +0900 From: Georgi Georgiev To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] ekeyword and ordering Message-ID: <20050612003940.GA30425@tiger.gg3.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <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> <20050611124817.GA15882@olive.flatmonk> 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="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <20050611124817.GA15882@olive.flatmonk> User-Agent: Mutt/1.5.8i X-Archives-Salt: 55a84d6e-05ca-4bb5-b1c0-73cbe07c9f16 X-Archives-Hash: cdbb8ff79317d207e61ddfe9b5b0aee4 --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline maillog: 11/06/2005-08:48:17(-0400): Aron Griffis types > 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... > > > > > > grep -hr --include=\*.ebuild '^KEYWORDS=' /usr/portage | perl -ne ' > > > s/[^[:lower:]\s]//; @F = split; @S = sort @F; $sorted++ if "@F" eq "@S"; > > > END { printf "%d%% of ebuilds are sorted (%d/%d)\n", 100*$sorted/$., $sorted, $. }' > > > > > > 49% of ebuilds are sorted (9435/19174) > > > > Your statistic seems to be flawed on a number of occasions. Assume > > KEYWORDS="x86 ppc" > > > > s/[^[:lower:]\s]//; > > You wrote a long email to tell me that I forgot /g, I think. ;-) > > grep -hr --include=\*.ebuild '^KEYWORDS=' /usr/portage | perl -ne ' > s/[^[:lower:]\s]//g; @F = split; @S = sort @F; $sorted++ if "@F" eq "@S"; > END { printf "%d%% of ebuilds are sorted (%d/%d)\n", 100*$sorted/$., $sorted, $. }' > > 31% of ebuilds are sorted (6028/19185) Oh. That would still not find the case when ppc64 comes before ppc, but I agree it was a quick fix. -- -* Georgi Georgiev -* I wish I was a sex-starved manicurist -* *- chutz@gg3.net *- found dead in the Bronx!! *- -* +81(90)2877-8845 -* -* --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCq4RMfXO2NUT1EmYRAvw8AKCamafKGrbxml9uDyYu/ILHD+2mqgCcDJx8 1sfFbruLb/MxUsEVEo3RHto= =xpS/ -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC-- -- gentoo-dev@gentoo.org mailing list