Re: weird bug in small for loop and here documents and bash-4.x

2010-03-21 Thread Chet Ramey
On 3/21/10 1:55 AM, Mike Frysinger wrote: > i have a small bit of code in a function: > foo() { > local f > for f in src/assembler.S src/assembler_opt.S ; do > cat <<-EOF >> ${f} > #ifdef __ELF__ > .section .note.GNU-stack,"",%progbits >

Re: Tab completion of "\ ends catastrophically

2010-03-21 Thread Chet Ramey
On 3/21/10 12:21 AM, josc...@umich.edu wrote: > Bash Version: 4.0 > Patch Level: 33 > Release Status: release > > Description: > Attempting to tab complete: > "\ > > ends in catastrophic failure. Either with a malloc message or the > terminal crashing entirely > > malloc: unknown:0: assertion b

cmdhist creates unparsable history entries

2010-03-21 Thread Andreas Schwab
Configuration Information [Automatically generated, do not change]: Machine: powerpc OS: linux-gnu Compiler: gcc -I/usr/src/packages/BUILD/bash-4.1 -L/usr/src/packages/BUILD/bash-4.1/../readline-6.1 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' -DCONF_OSTYPE='linux-gnu' -DCONF_M

Tab completion of "\ ends catastrophically

2010-03-21 Thread joscrei
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-pc-linux-gnu' -DCONF_VENDOR='pc' - DLOCALEDIR='/usr/share/local