Hello! Why equery can't handle more than 1 argument from the command line? if it could, it would be very reasonable i think! Just like emerge and any other important command from the terminal! Example: I must emerge 20 programs at the same time. I will use "emerge program1 program2 ... program20" command from the shell, but before it i want to see the use flags of the 20 programs! Ok i will use this "equery u program1 && equery program2 && ... && equery program20" instead of "equery u program1 program2 && ... && program20"! "equery u program1 program2 && ... && program20" is equivalent now with "equery u program20" instead of "equery u" every 20 program! I saw the /usr/bin/equery python code to modify, but i don't have enough time now :( Please help us Dear Gentoo Developers! :o) Thanks! Reproducible: Always
progs=(program1 program1 program3 ...); for prog in ${progs[@]}; do equery u $prog; done;
> I saw the /usr/bin/equery python code to modify, but i don't have enough time > now :( Good, because it is (was) non-trivial in some places, and it's already done. :) This should be in the next major release of gentoolkit. This is 'list', but all equery commands now take multiple input. Be patient :) dja@vault trunk $ ./equery.py list -i baselayout gcc [ Searching for baselayout in all categories ... ] * installed packages [I--] [ ] sys-apps/baselayout-1.12.11.1 (0) [ Searching for gcc in all categories ... ] * installed packages [I--] [ ] sys-devel/gcc-4.1.2 (4.1) [I--] [ ] sys-devel/gcc-config-1.4.0-r4 (0)
(In reply to comment #2) > Good, because it is (was) non-trivial in some places, and it's already done. :) > This should be in the next major release of gentoolkit. This is 'list', but all > equery commands now take multiple input. Be patient :) Is this code in svn? Please add the InSVN keyword and add this bug to the tracker for the next release (bug 237964) If the code is not in svn, please include a patch in this bug. Thanks!
gentoolkit greater than 0.3.0_rc* supports multiple queries.
Fixed in the gentoolkit-0.3.0 series