Re: Empty sub-string expansion bug

2006-10-24 Thread Chet Ramey
David Purdy wrote: > Bash Version: 3.1 > Patch Level: 17 > Release Status: release > > Description: > Substring operations that are meant to return an empty string "" > sometimes return character "\177" instead. > [...] > Fix: > Bash script work-around: Use an int

Empty sub-string expansion bug

2006-10-24 Thread David Purdy
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash