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.

-- 
gentoo-user@gentoo.org mailing list

Reply via email to