Re: [bash-bug] Fix testsuite errors due to shell quoted parameter expansion issue.

2010-08-17 Thread Dr. Werner Fink
On Tue, Aug 03, 2010 at 02:55:36PM -0600, Eric Blake wrote: > > And meanwhile, I found a ksh93 parsing bug (don't know where to report > that): > > $ ksh -c 'a(){ echo hi; }; a' > ksh: syntax error at line 1: `}' unexpected > $ ksh -c 'a() { echo hi; }; a' > hi > $ bash -c 'a(){ echo hi; }; a' >

Re: Fix testsuite errors due to shell quoted parameter expansion issue.

2010-08-05 Thread Chet Ramey
On 8/3/10 4:55 PM, Eric Blake wrote: > [adding autoconf to document some shell bugs] > > On 08/03/2010 02:32 PM, Ralf Wildenhues wrote: >> Interesting shell unportability: >> >> $ bash -c 'f=" val" e=; echo "$e"$f' >> val >> $ ksh -c 'f=" val" e=; echo "$e"$f' >> val >> >> ksh93, dash, zsh all do

Re: Fix testsuite errors due to shell quoted parameter expansion issue.

2010-08-03 Thread Eric Blake
[adding autoconf to document some shell bugs] On 08/03/2010 02:32 PM, Ralf Wildenhues wrote: > Interesting shell unportability: > > $ bash -c 'f=" val" e=; echo "$e"$f' > val > $ ksh -c 'f=" val" e=; echo "$e"$f' > val > > ksh93, dash, zsh all do it like ksh. Is that a bug in bash? Yes; addin