[Yum-devel] globbing and yum commands

James Bowes jbowes at redhat.com
Fri Mar 2 18:21:27 UTC 2007


seth vidal wrote:
> so if I say
> 
> yum search foo
> 
> should that match dogfood?
> 
> I'd be inclined to say yes, it should, but if I say: yum search " foo "
> it wouldn't.

yeah, because in the first case, "foo" becomes "*foo*", and in the second,
" foo " becomes "* foo *".

Though if you said "foo*", dogfood would not match, but food would. I
guess the problem is if you only want to match foo, there's no way to do
that. Unless we add like "search --exact" or something, but that would
have very little usefulness.

-James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070302/9c555a27/attachment.pgp 


More information about the Yum-devel mailing list