1 |
On 2005-11-23 23:07:49 -0600 (Wed, Nov), Paul Varner wrote: |
2 |
> On Wed, 2005-11-23 at 23:34 -0600, Harry Putnam wrote: |
3 |
> > Paul Varner <fuzzyray@g.o> writes: |
4 |
> > It appears here that the symbols themselves must be quoted as well as |
5 |
> > the package like this: |
6 |
> > |
7 |
> > equery files --type ">=vim-6.2" |
8 |
> > |
9 |
> |
10 |
> Which is what I meant to convey with the error message. What about this |
11 |
> one? |
12 |
> |
13 |
> $ ./equery files --type vim-6.4 |
14 |
> [ Searching for packages matching vim-6.4... ] |
15 |
> !!! Invalid syntax: missing operator |
16 |
> !!! If you want only specific versions please use one of |
17 |
> !!! the following operators as prefix for the package name: |
18 |
> !!! > >= = <= < |
19 |
> !!! Example to only match gcc versions greater or equal 3.2: |
20 |
> !!! >=sys-devel/gcc-3.2 |
21 |
> !!! |
22 |
> !!! Note: The symbols > and < are used for redirection in the shell |
23 |
> !!! You must enclose the entire argument in quotation marks, if either |
24 |
> !!! of these characters are used |
25 |
> |
26 |
|
27 |
Not precise enough. You need to enclose only those characters, like: |
28 |
equery files --type ">"=vim-6.2 |
29 |
or you may use backslash, like: |
30 |
equery files --type \>=vim-6.2 |
31 |
|
32 |
Saying that you MUST enclose the entire argument would misguide those |
33 |
who do not understand quoting mechanisms yet. You would be responsible |
34 |
for their mistakes forever! ;-) |
35 |
|
36 |
Some man pages (eq. man tcpdump) use a sentence like 'these characters |
37 |
are usually special to the shell and must be quoted'. Here you need to |
38 |
write only '...are used for redirection in the shell and should be |
39 |
quoted.' |
40 |
It's like a gentle, polite reminder that assumes that the reader is good |
41 |
being and usually knows everything about quoting. |
42 |
|
43 |
-- |
44 |
No virus found in this outgoing message. |
45 |
Checked by 'grep -i virus $MESSAGE' |
46 |
Trust me. |