Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 584854

Summary: app-portage/eix: allow multiple arguments
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Martin Väth <martin>
Status: RESOLVED INVALID    
Severity: enhancement CC: axs, proxy-maint, xmw
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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!