Should "yum install" be case sensitive?

seth vidal skvidal at fedoraproject.org
Mon Nov 26 20:27:50 UTC 2007


On Tue, 2007-11-27 at 01:49 +0530, Rahul Sundaram wrote:
> seth vidal wrote:
> > On Mon, 2007-11-26 at 21:03 +0100, Ralf Ertzinger wrote:
> >> Hi.
> >>
> >> On Mon, 26 Nov 2007 14:55:34 -0500, Jesse Keating wrote
> >>
> >>> Search is case insensitive, list is a search.  However packages are
> >>> case sensitive.  While we don't /currently/ have a Miro and a miro,
> >>> the rpm database would allow for it, thus install/removal actions
> >>> need to be case sensitive.
> >> How about "try case sensitive first, and insensitive if the first does
> >> not turn up anything"?
> > 
> > yes, b/c we love it so much when computer programs try to think for us.
> 
> They already do in a lot of occasions anyway. Is there a real reason not 
> to do this? I always hated finding out that some package have 
> capitalizations for no obvious reasons. MySQL or mysql or Mysql... Being 
> able to just type yum install mysql without having to worry about the 
> specifics would be nice.

yes, b/c it is a really bad idea.

much like having: rm -rf foo actually be case insensitive.

-sv





More information about the fedora-devel-list mailing list