Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Is this a bug in equery
Date: Thu, 24 Nov 2005 04:42:05
Message-Id: 87k6eyboco.fsf@newsguy.com
In Reply to: Re: [gentoo-user] Is this a bug in equery by Paul Varner
1 Paul Varner <fuzzyray@g.o> writes:
2
3 > On Wed, 2005-11-23 at 20:02 -0600, Harry Putnam wrote:
4 >> I'm trying to learn equery since qpkg is being laid to rest. However
5 >> I'm finding the hints that appear when you syntax is wrong very
6 >> confusing.
7 >
8 > I have opened bug #113423
9 >
10 > Does the following make more sense to you:
11 >
12 > $ ./equery files --type vim-6.4
13 > [ Searching for packages matching vim-6.4... ]
14 > !!! Invalid syntax: missing operator
15 > !!! If you want only specific versions please use one of
16 > !!! the following operators as prefix for the package name:
17 > !!! > >= = <= <
18 > !!! Example to only match gcc versions greater or equal 3.2:
19 > !!! >=sys-devel/gcc-3.2
20 > !!!
21 > !!! Note: The symbols > and < are used for redirection in the shell
22 > !!! You must enclose the package name in quotation marks, if either
23 > !!! of these characters are used
24
25 No, this isn't good either. It doesn't work if you follow that
26 instruction. Doesn't give error but doesn't show results either.
27 Note results of using your directive:
28
29 equery files --type >="vim-6.2"
30 (Just returns a prompt)
31
32 It appears here that the symbols themselves must be quoted as well as
33 the package like this:
34
35 equery files --type ">=vim-6.2"
36
37 [ Searching for packages matching >=vim-6.2... ]
38 * Contents of app-editors/vim-6.3.084:
39 dir /usr
40 dir /usr/bin
41 symlink /usr/bin/ex -> vim
42 symlink /usr/bin/rview -> vim
43 symlink /usr/bin/rvim -> vim
44 symlink /usr/bin/view -> vim
45 file /usr/bin/vim
46 symlink /usr/bin/vimdiff -> vim
47
48 --
49 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Is this a bug in equery Harry Putnam <reader@×××××××.com>
Re: [gentoo-user] Re: Is this a bug in equery Paul Varner <fuzzyray@g.o>