public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] In need of script/command that will parse out all the packages from "emerge -avu world"
@ 2006-11-20  6:37 Daevid Vincent
  2006-11-20  8:27 ` Mark M
  2006-11-20  8:36 ` Bo Ørsted Andresen
  0 siblings, 2 replies; 13+ messages in thread
From: Daevid Vincent @ 2006-11-20  6:37 UTC (permalink / raw
  To: gentoo-user

Wondering if someone has a script or shell 'one liner' that can take the
output of "emerge -avu world" and make a list of the packages (I assume all
on one line). Then I could pump that back into "emerge -av" again (I don't
mind if it's a simple manual highlight and copy/append).

I didn't see anything here:
http://forums.gentoo.org/viewtopic.php?t=67849
http://gentoo-wiki.com/TIP_Portage_utilities_not_in_portage
There is that 'pfilter' that looks interesting, but it's 2 years old, and I
can't get it to work :-\

For example:

daevid ~ # emerge -avu world | grep x11-
[ebuild     U ] x11-misc/util-macros-1.1.2 [1.1.0] USE="-debug" 45 kB 
[ebuild     U ] x11-proto/inputproto-1.4 [1.3.2] USE="-debug" 47 kB 
[ebuild     U ] x11-proto/xproto-7.0.9 [7.0.7] USE="-debug" 138 kB 
[ebuild     U ] x11-libs/xtrans-1.0.2 [1.0.1] USE="-debug" 97 kB 
[ebuild     U ] x11-libs/libX11-1.0.3-r1 [1.0.3] USE="ipv6 -debug" 1,415 kB 
...

I want to run some command that will give me a list like:

x11-misc/util-macros x11-proto/inputproto x11-proto/xproto ...

Then I could just select and copy that "string" and append it to "emerge -av
"

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-11-21 23:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-20  6:37 [gentoo-user] In need of script/command that will parse out all the packages from "emerge -avu world" Daevid Vincent
2006-11-20  8:27 ` Mark M
2006-11-20 20:59   ` Richard Fish
2006-11-20 22:18     ` Daevid Vincent
2006-11-20 22:36       ` Boris Fersing
2006-11-21  0:15         ` b.n.
2006-11-21  1:41           ` Richard Fish
2006-11-21 22:59             ` b.n.
2006-11-20 22:50       ` Hans-Werner Hilse
2006-11-21  9:13     ` Mark M
2006-11-21 10:14       ` Bo Ørsted Andresen
2006-11-20  8:36 ` Bo Ørsted Andresen
2006-11-21 22:59   ` Daevid Vincent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox