Re: shopt extquote not working

2005-09-03 Thread Chet Ramey
Enrique Perez-Terron wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i386 > OS: linux-gnu > Compiler: i386-redhat-linux-gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' > -D

Re: Ansi-C backslash expansion: $'n' in a double-quoted string adds single-quote newline single-quote

2005-09-03 Thread Chet Ramey
Enrique Perez-Terron wrote: > Hello, > > The command > > echo "${PATH//:/$'\n'}" > > yields > > /usr/bin' > '/bin' > '/usr/X11R6/bin > > while > > newline=$'\n' > echo "${PATH//:/$newline}" > > yields > > /usr/bin > /bin > /usr/X11R6/bin > > Is this by intention? It cert