Re: unexpected behavior with read

2018-03-05 Thread Greg Wooledge
On Sun, Mar 04, 2018 at 06:15:05PM -0500, Zach Hadgraft wrote: > Description: > global variable assignments fail when part of a sequence that > includes read and begins with a function invoked by command substitution > read can be invoked by another function, or invoked by another >

Re: unexpected behavior with read

2018-03-04 Thread Chet Ramey
On 3/4/18 6:15 PM, Zach Hadgraft wrote: > Bash Version: 4.4 > Patch Level: 19 > Release Status: release > > Description: > global variable assignments fail when part of a sequence that > includes read and begins with a function invoked by command substitution > read can be invoked

unexpected behavior with read

2018-03-04 Thread Zach Hadgraft
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: darwin16.7.0 Compiler: clang Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='darwin16.7.0' -DCONF_MACHTYPE='x86_64-apple-darwin16.7.0' -DCONF_VENDOR='apple' -DLOCALEDIR='/usr/local/