public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: tigger@gentoo.org
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Idea for change of emerge -up output
Date: Fri, 3 Sep 2004 13:41:10 +0000	[thread overview]
Message-ID: <20040903134110.GD6307@gentoo.org> (raw)
In-Reply-To: <4138651B.2080802@gentoo.org>

On Fri, Sep 03, 2004 at 01:35:39PM +0100, Robert Moss wrote:
> >The current output of emerge -p is difficult to machine parse because
> >its difficult to split the package name and package version. However,

> and then you have something like app-text/ghostscript-7.07.1-r5. Then 
> anything before hyphen-digit is the package name, and anything after the 
> hyphen in hyphen-digit is the package version. So, you just want to (for 
> example) regexp away "-[[:digit:]]*.*" for the package name, and match 
> that and strip the hyphen for the version. Why is this difficult all of 
> a sudden?

Not being funny, but wouldn't it be so much easier and cleaner the way I
described?

-- 
rob holland - [ tigger@gentoo.org ]
[ 5251 4FAC D684 8845 5604  E44F D65C 392F D91B 4729 ]

--
gentoo-dev@gentoo.org mailing list


  parent reply	other threads:[~2004-09-03 12:38 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-03 12:51 [gentoo-dev] Idea for change of emerge -up output tigger
2004-09-03 12:01 ` Thierry Carrez
2004-09-03 12:27   ` Kurt Lieber
2004-09-03 13:08   ` tigger
2004-09-03 12:02 ` William Kenworthy
2004-09-03 17:47   ` Mike Frysinger
2004-09-03 12:35 ` Robert Moss
2004-09-03 13:15   ` Paul de Vrieze
2004-09-03 13:41   ` tigger [this message]
     [not found]     ` <4138666A.5030105@gentoo.org>
2004-09-03 13:49       ` tigger
2004-09-03 12:51         ` Robert Moss
2004-09-03 13:19           ` Jason Stubbs
2004-09-03 14:24 ` Norberto Bensa
2004-09-03 14:55   ` Ciaran McCreesh
2004-09-03 17:46     ` Mike Frysinger
2004-09-03 17:50       ` Luke-Jr
2004-09-03 17:59         ` Ioannis Aslanidis
2004-09-03 18:40           ` Mike Frysinger
2004-09-04  0:55           ` Jason Stubbs
2004-09-03 18:39         ` Mike Frysinger
2004-09-04  0:18         ` William Kenworthy
2004-09-04  0:35           ` William Kenworthy
2004-09-04  0:55           ` Luke-Jr
2004-09-03 16:21 ` Gregorio Guidi
2004-09-03 17:27   ` tigger

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=20040903134110.GD6307@gentoo.org \
    --to=tigger@gentoo.org \
    --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