Re: C-style escapes within substitution expansion

2014-03-07 Thread Chet Ramey
On 3/7/14, 2:42 PM, David Sines wrote: > Bash Version: 4.3 > Patch Level: 0 > Release Status: release > > Description: > When invoked as sh, bash 4.3.0 doesn't interpret C-style escapes > within double-quoted substitution expansions ("${var/$'what'/ever}"). I think this is a bug; this is

C-style escapes within substitution expansion

2014-03-07 Thread David Sines
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash