On Fri, Mar 16, 2018 at 1:18 PM, <d...@ftb-esv.de> wrote: [...] > Bash Version: 4.3 > Patch Level: 42 > Release Status: release > > Description: > Command: x="a b c"; echo "'${x// /','}'" > On old systems the output is: 'a','b','c' > In this version the output is: 'a,b,c' > This new behavior breaks some scripts.
Hm, 4.3 is almost 4 years old, so that's hardly "new" behavior. Furthermore, this behavior changed as a result of a bug report, see: - http://lists.gnu.org/archive/html/bug-bash/2012-02/msg00106.html - http://lists.gnu.org/archive/html/bug-bash/2013-03/msg00100.html