Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24469 - regex / globbing support for emerge <packages>* and the like
Summary: regex / globbing support for emerge <packages>* and the like
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 24430 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-14 10:05 UTC by fiberchunks
Modified: 2006-03-04 07:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fiberchunks 2003-07-14 10:05:38 UTC
It would be nice if portage supported a feature such as:
emerge ^sdl*   
to be able to emerge all packages containing {sdl,SDL}  and avoid having to type
in X many pkgs on the cli.  

As an example, mandrake has a feature called urpmf  that will find all packages
containing whatever name supplied on the command line, and outputs them in a
'copy-pastable' format.

In essence a way to make installing multiple packages in the shortest amount of
typing possible would be great.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-07-16 01:44:58 UTC
emerge -qs 'sdl'
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-12-28 22:48:27 UTC
*** Bug 24430 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2004-08-02 20:25:08 UTC
*** Bug 57153 has been marked as a duplicate of this bug. ***
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-08-03 12:54:41 UTC
You can do this with normal shell commands, so I don't see a good reason to add that complexity to emerge. Example (adjust to your needs):

find /usr/portage -mindepth 2 -maxdepth 2 -type d -name 'sdl*' -printf "%P\n"
emerge -p $(find ...)