public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bo Ørsted Andresen" <bo.andresen@zlin.dk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] splitdebug
Date: Thu, 15 Jun 2006 02:25:26 +0200	[thread overview]
Message-ID: <200606150225.34505.bo.andresen@zlin.dk> (raw)
In-Reply-To: <7573e9640606141701m41ed179cs4bbfe7b5db4c1dc6@mail.gmail.com>

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

On Thursday 15 June 2006 02:01, Richard Fish wrote:
> I was thinking more like:
>
> ldd `which kontact kmail knode akregator` | grep '=>' | awk '{print $3}' \
>     | sort | uniq | xargs equery belongs | grep '/' | sort | uniq \
>     | xargs printf "=%s\n" | xargs emerge -p --oneshot
>
> (Ok people, have at it.  Show me how you can do this in 5 commands or
> less.)

Very nice. :)

I guess this would do:

# ldd `which kontact kmail knode akregator` | awk '$2~/^=>$/{print $3}' | \
	sort -u | xargs equery belongs | sort -u | while read pkg; do grep -q \
	splitdebug /var/db/pkg/"$pkg"/FEATURES || echo ="$pkg"; done | \
	xargs emerge -p1

:)

-- 
Bo Andresen

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

  reply	other threads:[~2006-06-15  0:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 20:57 [gentoo-user] splitdebug Bo Ørsted Andresen
2006-06-14 21:28 ` Richard Fish
2006-06-14 21:45   ` Bo Ørsted Andresen
2006-06-15  0:01     ` Richard Fish
2006-06-15  0:25       ` Bo Ørsted Andresen [this message]
2006-06-15  1:09         ` Bo Ørsted Andresen
2006-06-15  1:57           ` Richard Fish
2006-06-15  8:53       ` Neil Bothwick

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