Re: String Concatenation with $'\NNN' Error

2009-03-16 Thread Greg Wooledge
On Sun, Mar 15, 2009 at 07:21:06AM -, t...@accesslab.com wrote: > This command sequence concatenates a text string with a $'\NNN' string > producing an error: > shopt -s extglob; x="hello"$'\179'; echo "${x//+([^[:print:]])/?}" > > EXPECTED RESULT IS -> hello? > >

String Concatenation with $'\NNN' Error

2009-03-16 Thread tony
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: i686-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/loc