From the gentoo-user mailing list: I'm trying to learn equery since qpkg is being laid to rest. However I'm finding the hints that appear when you syntax is wrong very confusing. Her is an example: equery files --type vim Gives the expected results but if you add a version number things get very confusing equery files --type vim-6.3 equery files --type vim-6.3 [ Searching for packages matching vim-6.3... ] !!! Invalid syntax: missing operator !!! If you want only specific versions please use one of !!! the following operators as prefix for the package name: !!! > >= = <= < !!! Example to only match gcc versions greater or equal 3.2: !!! >=sys-devel/gcc-3.2 OK following the example give doesn't work: equery files --type >=app-editors/vim-6.3 -bash: =app-editors/vim-6.3: No such file or directory OR equery files >=app-editors/vim-6.3 -bash: =app-editors/vim-6.3: No such file or directory That was following EXACTLY the given directions. It appears one needs to quote that kind of query like: equery files ">=app-editors/vim-6.3" So that is what the directions need to say.
Hmm, do we really have to explain/work around bash functionality in error messages?
Normally, I would say no. However, since equery is being used by all levels of user and the fact that even I forget occasionally. A short note with the error message shouldn't hurt. My proposed text reads: !!! Note: The symbols > and < are used for redirection in the shell !!! and must be quoted if either one is used.
Fix is in gentoolkit-0.2.1