Re: bash segfaults on EOF-delimited [^D] 'here-documents' (instead of aborting command?) when PS2 is not a static value (PS3 might have problems too)

2014-06-03 Thread Greg Wooledge
On Mon, Jun 02, 2014 at 06:02:31PM -0400, osirisgothra paradisim llc wrote: > GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) The hardware and > operating system. > ubuntu@localhost:~$ PS2='$(echo "enter something>")' > ubuntu@localhost:~$ cat <<-EOF > enter something>here's some text >

Re: bash segfaults on EOF-delimited [^D] 'here-documents' (instead of aborting command?) when PS2 is not a static value (PS3 might have problems too)

2014-06-03 Thread Chet Ramey
On 6/2/14, 6:02 PM, osirisgothra paradisim llc wrote: > Bash Version: 4.3 > Patch Level: 11 > Release Status: release > > Description: > Seems that the shell crashes when the value of PS2 is set to > something that is evaluated when displayed, and the user presses (usually by > accident