[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bash-bug] bash accepts script with incorrect syntax and goes into
From: |
Dr. Werner Fink |
Subject: |
Re: [bash-bug] bash accepts script with incorrect syntax and goes into infinite loop |
Date: |
Fri, 9 Oct 2009 13:03:43 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Oct 09, 2009 at 11:46:16AM +0100, Dave B wrote:
> On Friday 09 October 2009, Pierre Gaston wrote:
>
> Uhm, on a more accurate reading you're probably right. The POSIX syntax for
> while is
>
> while compound-list-1 do
> compound-list-2
> done
>
> And "read NAME; echo NAME=$NAME" is a compound-list. So I was deceived by the
> formatting, I think you are right. Thanks for correcting me.
I also agree ( even if I'm the reporter :) now I can close the bug
reprort here, thanks.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr