public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bo Ørsted Andresen" <bo.andresen@zlin.dk>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64]  Re: GCC upgrade script
Date: Wed, 25 Apr 2007 15:29:10 +0200	[thread overview]
Message-ID: <200704251529.17383.bo.andresen@zlin.dk> (raw)
In-Reply-To: <pan.2007.04.25.09.07.46@cox.net>

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

On Wednesday 25 April 2007 11:07:46 Duncan wrote:
> emerge -pe world|grep /|cut -f2 -d"]"|sed "s/^ /=/"

This might work reasonably had you included -q for emerge.. As it is it may 
include things like e.g. USE="blah%" (which emerge would choke on)...

# emerge -peq world | sed -n 's|^\[ebuild[^]]*\] \([^ ]\+\).*$|=\1|p'

> emerge -pe world|grep /|cut -f2 -d"]"|cut -f2 -d" "

# emerge -peq world | sed -n 's|^\[ebuild[^]]*\] \([^ ]\+\).*$|\1|p' | \
    sed -r 's/-[^-]+(-r[0-9]+)*$//'

-- 
Bo Andresen

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2007-04-25 13:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-24 15:25 [gentoo-amd64] GCC upgrade script Mark Haney
2007-04-25  8:34 ` [gentoo-amd64] " Stefan Wimmer
2007-04-25  9:07 ` Duncan
2007-04-25 12:03   ` Dustin C. Hatch
2007-04-25 13:39     ` Bo Ørsted Andresen
2007-04-25 13:57       ` Wil Reichert
2007-04-25 14:48         ` Bo Ørsted Andresen
2007-04-25 13:29   ` Bo Ørsted Andresen [this message]

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=200704251529.17383.bo.andresen@zlin.dk \
    --to=bo.andresen@zlin.dk \
    --cc=gentoo-amd64@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