Paul Varner <[EMAIL PROTECTED]> writes:

> On Wed, 2005-11-23 at 20:02 -0600, Harry Putnam wrote:
>> 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.
>
> I have opened bug #113423
>
> Does the following make more sense to you:
>
> $ ./equery files --type vim-6.4
> [ Searching for packages matching vim-6.4... ]
> !!! 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
> !!!
> !!! Note: The symbols > and < are used for redirection in the shell
> !!! You must enclose the package name in quotation marks, if either
> !!! of these characters are used

No, this isn't good either.  It doesn't work if you follow that
instruction.  Doesn't give error but doesn't show results either.
Note results of using your directive:

    equery files --type >="vim-6.2"
    (Just returns a prompt)

It appears here that the symbols themselves must be quoted as well as
the package like this:

      equery files --type ">=vim-6.2"

  [ Searching for packages matching >=vim-6.2... ]
  * Contents of app-editors/vim-6.3.084:
     dir /usr
     dir /usr/bin
  symlink /usr/bin/ex -> vim
  symlink /usr/bin/rview -> vim
  symlink /usr/bin/rvim -> vim
  symlink /usr/bin/view -> vim
    file /usr/bin/vim
  symlink /usr/bin/vimdiff -> vim

-- 
gentoo-user@gentoo.org mailing list

Reply via email to