On Sat, Dec 08, 2001 at 08:25:55PM +0100, Roland E. Lipovits wrote:
> On Sat, Dec 08, 2001 at 01:49:37PM -0500, Jean-Louis Martineau wrote:
> >    amadmin ds1 info apollo 'felix/d\$'
> > or amadmin ds1 info apollo felix/d\\$
> > 
> > $ is special in the expression you must write \$ if you want it.
> 
> Thanks, that works.
> 
> But I guess there is still something strange:
> 
> |$ amadmin ds1 info apollo 'felix/d\$'
> |
> |Current info for apollo //felix/d$:
> |(...)
> |$ amadmin ds1 info apollo 'felix/d'
> |amadmin: no disk matched
> |$ amadmin ds1 info apollo 'felix/'
> |
> |Current info for apollo //felix/c$:
> |(...)
> |
> |Current info for apollo //felix/d$:
> |(...)
> 
> Why 'felix/d' doesn't match but 'felix/' matches?

The matcher is not a substring matcher, it matche by word (path element).
You have no path element 'd'. 'felix/d*' will work.
You must see it as a glob matcher for each word, but you don't nedd
to specify all word, that's why 'felix/' match your 2 disk.

Jean-Louis
> 
> just asking,
> Lipo
> 
> -- 
> "They that can give up essential liberty   |   Roland E. Lipovits
>  to obtain a little temporary safety       |   Vienna, Austria
>  deserve neither liberty nor safety."      |   DSA-KeyID: 0xDA153FAB 
>  - Benjamin Franklin, 1759                 |   RSA-KeyID: 0xBC39A5CD

-- 
Jean-Louis Martineau             email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834

Reply via email to