Re: bash variable expansion ${var:+"..."} in here-document removes double quotes

2016-12-07 Thread Chet Ramey
On 12/7/16 7:31 AM, andreas.l...@innovative-navigation.de wrote: > Bash Version: 4.4 > Patch Level: 0 > Release Status: release > > Description: > > Bash removes double quotes (but not single quotes) when doing variable > expansion with ${parameter:+word} (Use Alternate Value), in a here-documen

bash variable expansion ${var:+"..."} in here-document removes double quotes

2016-12-07 Thread andreas . luik
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share