[Bug 824331] [NEW] Suggest be case insensitve
Yongzhi Pan
panyongzhi at gmail.com
Thu Aug 11 06:08:09 UTC 2011
Public bug reported:
Scenario: I want to use Xnest. I type 'xnest', and the shell just tells
me command not found and no suggestion. Oops, doesn't Ubuntu ship Xnest?
Later I know I must type 'Xnest' to know which package I should install.
I looked at the code:
def lookup(self, key):
if self.db and self.db.has_key(key):
return self.db[key]
We are using exact matching.
I suggest ignore letter cases when looking up in the databases, since we
usually do not know or remember the exact cases of commands.
** Affects: command-not-found (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/824331
Title:
Suggest be case insensitve
Status in “command-not-found” package in Ubuntu:
New
Bug description:
Scenario: I want to use Xnest. I type 'xnest', and the shell just
tells me command not found and no suggestion. Oops, doesn't Ubuntu
ship Xnest? Later I know I must type 'Xnest' to know which package I
should install.
I looked at the code:
def lookup(self, key):
if self.db and self.db.has_key(key):
return self.db[key]
We are using exact matching.
I suggest ignore letter cases when looking up in the databases, since
we usually do not know or remember the exact cases of commands.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/824331/+subscriptions
More information about the foundations-bugs
mailing list