unexpected behaviour of read in command_not_found_handle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: command-not-found
OS: Kubuntu 7.10
Bash Version: 3.2-0ubuntu11
command-not-found version: 0.2.8ubuntu2
-------
I tried to create an own version of command_
The "read" command sends the process to the background. Strangely, this only happens if "read" is invoked _behind_ "python /usr/lib/
$ command_
$ command_
read 1
The program 'sl' is currently not installed. You can install it by typing:
sudo apt-get install sl
read 2
foo
$ # This works as expected. Now let's try to call the function implicitly:
$ sl
read 1
The program 'sl' is currently not installed. You can install it by typing:
sudo apt-get install sl
read 2
[1]+ Stopped sl
$ fg
sl
foo
$
Isn't this more of a bash(1) issue that command-not-found?