touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #13528
[Bug 1364289] [NEW] CTL-z+fg breaks (for) loops
Public bug reported:
Hi,
For the fourth time these days, I've found that CTL-z+fg has a strange
behaviour in bash now: it breaks the loops instead of pausing them.
Let's say I have the following loop:
for i in a b c d e ; do longcommand "$i" ; done
If I do a CTL-z, when longcommand is working on b, then everything is stopped, as expected. If I do a fg, then "longcommand b" restart and finished, as expected. However, as soon as "longcommand b" is finished, the loop ends. "longcommand c", "longcommand d" and "longcommand e" are never executed...
I'm unsure if this might come from a specific local config or not...
I've only noticed this strange behaviour recently, whereas I've not made
any change to my config files for a while.
Cheers
GM
** Affects: bash (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1364289
Title:
CTL-z+fg breaks (for) loops
Status in “bash” package in Ubuntu:
New
Bug description:
Hi,
For the fourth time these days, I've found that CTL-z+fg has a strange
behaviour in bash now: it breaks the loops instead of pausing them.
Let's say I have the following loop:
for i in a b c d e ; do longcommand "$i" ; done
If I do a CTL-z, when longcommand is working on b, then everything is stopped, as expected. If I do a fg, then "longcommand b" restart and finished, as expected. However, as soon as "longcommand b" is finished, the loop ends. "longcommand c", "longcommand d" and "longcommand e" are never executed...
I'm unsure if this might come from a specific local config or not...
I've only noticed this strange behaviour recently, whereas I've not
made any change to my config files for a while.
Cheers
GM
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1364289/+subscriptions
Follow ups
References