On Sat, 22 Aug 2015, isabella parakiss wrote:
Hi, after running wait -n there's something wrong, ^C doesn't work
properly anymore: it displays ^C in the readline buffer, but the current
line stays there until I press enter. Running any command "fixes" it.
It can also dump core if you try with multiple jobs.
$ bash --norc
bash-4.3$ sleep 1 & sleep 2 & wait -n
[1] 8368
[2] 8369
[1]- Done sleep 1
bash-4.3$ ^C*** stack smashing detected ***: bash terminated
I have no problem running that line, and ^C still works.
--
Chris F.A. Johnson, <http://cfajohnson.com>