Re: unexpected tilde quoting change in version 4.3

2014-10-23 Thread Chet Ramey
On 10/22/14, 4:08 PM, idal...@idallen.ca wrote: > Bash Version: 4.2 and 4.3 > > Description: > > I find this change in quoting from 4.2 to 4.3 odd, where double-quoted > "~" used to be quoted (no expansion) and no longer works: This just came up yesterday, for pete's sake: http://lists.gnu.org/

unexpected tilde quoting change in version 4.3

2014-10-22 Thread idallen
Bash Version: 4.2 and 4.3 Description: I find this change in quoting from 4.2 to 4.3 odd, where double-quoted "~" used to be quoted (no expansion) and no longer works: Bash version 4.2.25(1)-release: $ x=foo $ y="${x/foo/\~}" # backslash is more than is needed $ echo "$y" \~