public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Georgi Georgiev <chutz@gg3.net>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] ekeyword and ordering
Date: Sun, 12 Jun 2005 09:39:41 +0900	[thread overview]
Message-ID: <20050612003940.GA30425@tiger.gg3.net> (raw)
In-Reply-To: <20050611124817.GA15882@olive.flatmonk>

[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-06-12  0:39 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-06 22:26 [gentoo-dev] ekeyword and ordering Aron Griffis
2005-06-06 22:41 ` Mike Frysinger
2005-06-06 22:49   ` Stephen P. Becker
2005-06-07 12:16     ` Luca Barbato
2005-06-07 20:58       ` Danny van Dyk
2005-06-09 13:19         ` foser
2005-06-09 13:37           ` Lars Weiler
2005-06-09 15:59             ` [gentoo-dev] " Duncan
2005-06-09 15:29           ` [gentoo-dev] " Danny van Dyk
2005-06-09 15:50           ` Stephen P. Becker
2005-06-10 14:55             ` foser
2005-06-10 16:33               ` Mike Frysinger
2005-06-11  8:15                 ` foser
2005-06-11  8:28                   ` Jason Stubbs
2005-06-11  8:48                     ` foser
2005-06-11 15:21                       ` Joshua Baergen
2005-06-11 16:31                         ` Diego 'Flameeyes' Pettenò
2005-06-11 18:00                           ` Joshua Baergen
2005-06-11  9:06                   ` Bryan Oestergaard
2005-06-11 18:46                   ` Aron Griffis
2005-08-01 17:06                     ` foser
2005-08-01 17:43                       ` Aron Griffis
2005-06-11 20:37                   ` Mike Frysinger
2005-06-10 17:19               ` Aron Griffis
2005-06-11  0:04                 ` Georgi Georgiev
2005-06-11 12:48                   ` Aron Griffis
2005-06-12  0:39                     ` Georgi Georgiev [this message]
2005-06-12  2:18                       ` Aron Griffis
2005-06-06 22:43 ` [gentoo-dev] " Michael Sterrett -Mr. Bones.-
2005-06-09 13:06   ` foser
2005-06-06 22:47 ` [gentoo-dev] " Lars Weiler
2005-06-07  3:19   ` Aaron Walker
2005-06-07 18:35     ` Donnie Berkholz
2005-06-09 13:10   ` foser
2005-06-09 16:49     ` Maurice van der Pot
2005-06-07 11:23 ` Simon Stelling
2005-06-07 14:04   ` Aron Griffis
2005-06-07 14:20     ` Diego 'Flameeyes' Pettenò
2005-06-07 15:15       ` Aron Griffis
2005-06-07 15:30         ` Diego 'Flameeyes' Pettenò
2005-06-07 22:35           ` Chris Gianelloni
2005-06-07 16:49         ` Michael Cummings
2005-06-07 18:38           ` Aron Griffis
2005-06-07 22:31       ` Chris Gianelloni
2005-06-07 22:32         ` Diego 'Flameeyes' Pettenò
2005-06-07 21:32 ` Marcus D. Hanwell
2005-06-07 21:44   ` Aron Griffis
2005-06-07 21:56     ` Olivier Crete
2005-06-07 22:11       ` Marcus D. Hanwell
2005-06-07 23:58         ` Lars Weiler
2005-06-07 22:18       ` Aron Griffis
2005-06-09 13:01         ` foser
2005-06-08 14:44     ` Jason Wever
2005-06-08 15:39       ` Joseph Jezak
2005-06-08 16:18         ` Marcus D. Hanwell
2005-06-08 16:23         ` Jason Wever
2005-06-07 23:07   ` Ferris McCormick
2005-06-08  0:25     ` Donnie Berkholz
2005-06-08 13:15     ` Chris Gianelloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050612003940.GA30425@tiger.gg3.net \
    --to=chutz@gg3.net \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox