dash can hang when piping to a nonexistant program
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Dash (the thing that seems to be the default /bin/bash) seems to mishandle the following case which is easy to verify:
tail -f some_file | some_non_
Although dash correctly reports that some_non_
Other shells (real bash, /bin/sh, zsh, etc.) that I have tested will correctly kill tail immediately and will not leave the shell hanging in an uninterruptible state.
Ubuntu 14.04 LTS