Discovered this in Karmic now. Can't believe this has been like this
since Jaunty :) It is definitely a bit dangerous since you may think you
have run a command successfully although you misspelled it.

$ /usr/lib/command-not-found --help
Usage: command-not-found [options] <command-name>

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -d DATA_DIR, --data-dir=DATA_DIR
                        use this path to locate data fields
  --ignore-installed, --ignore-installed
                        ignore local binaries and display the available
                        packages
$ /usr/lib/command-not-found --version
0.2.21
$ michaelvogt
$ echo $?
127
$ 

** Changed in: command-not-found (Ubuntu)
       Status: Incomplete => Confirmed

-- 
Accepts all commands, no error given on command not found
https://bugs.launchpad.net/bugs/383883
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to