Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584854 - app-portage/eix: allow multiple arguments
Summary: app-portage/eix: allow multiple arguments
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-02 14:38 UTC by Pacho Ramos
Modified: 2016-06-06 20:12 UTC (History)
3 users (show)

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 Pacho Ramos gentoo-dev 2016-06-02 14:38:02 UTC
I was pretending to know about some packages without needing to run one command for each... but it seems it is not supported :(

$ eix -e noto symbola unifont
No matches found
$ eix noto symbola unifont
No matches found

Maybe it would be interesting to allow us to do that :)

Thanks a lot
Comment 1 Martin Väth 2016-06-02 14:47:31 UTC
For historical reasons (principle of least surprise, in analogy with the find command, and also since the separation between queries is not easily understandable unless you read the manpage very carefully), the default logical concatenation for several queries is --and (-a)

Set DEFAULT_IS_OR=true (e.g. in some file in /etc/eixrc or in ~/.eixrc) to change this default. With this setting your command will do what you expect.

Alternatively, you can explicitly specify that you want --or (-o) concatenation:
eix -e noto -oe symbola -oe unifont
Comment 2 Pacho Ramos gentoo-dev 2016-06-06 20:12:37 UTC
Thanks for the tips!