[Yum-devel] globbing and yum commands

seth vidal skvidal at linux.duke.edu
Fri Mar 2 18:26:45 UTC 2007


On Fri, 2007-03-02 at 13:21 -0500, James Bowes wrote:
> 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.

right. And to be clear, I think what you're proposing is a great idea -
standardization so we can predict what _should_ happen. I was just
trying to figure out where something like the above would fit.

Thanks for working on this.

-sv





More information about the Yum-devel mailing list