bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bash-bug] Fix testsuite errors due to shell quoted parameter expans


From: Dr. Werner Fink
Subject: Re: [bash-bug] Fix testsuite errors due to shell quoted parameter expansion issue.
Date: Tue, 17 Aug 2010 12:19:14 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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'
> hi
> $ /bin/sh -c 'a(){ echo hi; }; a'
> hi
> 
> ksh is the only shell that requires a space between the ) and {, even
> though the ) is a metacharacter and should not need trailing space (even
> Solaris /bin/sh got that right).

Just talk with Michal Hlavinka <address@hidden>
for this as he uses the ksh/ast developers mailing list.

     Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]