Just for clarification, I'm on latest upgrade of Ubuntu 14.04.1 LTS, and I've noticed the same behaviour on latest Mint (not surprising though...)
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) Linux gyom 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux -- 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp