2017-02-28 19:43:11 +0100, tarot: > Grrrrr! it is not a bug!!!!!!! > > > xx. Fixed a bug that could allow `break' or `continue' executed from shell > functions to affect loops running outside of the function. > > My BIG script doesn't work with bash-4.4 >
There was a related discussion on the Austin group mailing list back in May last year: http://permalink.gmane.org/gmane.comp.standards.posix.austin.general/12614 Just my personal opinion, but I think I'd rather the spec had been updated to accomodate the bash (and many other shells) behaviour rather than bash breaking its backward compatibility to comply to a requirement that is not particularly useful myself. You'll find more at that thread, though with the gmane web interface not fully back up, it's hard to get the whole thread (you can increase that 12614 number above). -- Stephane