Hang in bgp_delete

2017-02-11 Thread Graham Northup
Configuration Information: 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/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H

Re: Non-expanding here-documents inside command substitution are subject to newline joining

2017-02-11 Thread Chet Ramey
On 2/11/17 12:11 AM, Michael Homer wrote: > If the same command is put inside command substitution instead, Bash (and > pdksh) behaves differently than the others, and performs newline joining to > have a single line in the middle “def ghi”. Given > x=$(cat <<'EOT' > abc > def \ >