bug-bash
[Top][All Lists]
Advanced

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

Re: weird bash5 bug with ``for i; do echo; done; echo in''


From: Dennis Williamson
Subject: Re: weird bash5 bug with ``for i; do echo; done; echo in''
Date: Sat, 24 Mar 2018 18:05:07 +0000

On Sat, Mar 24, 2018, 12:23 PM Dennis Williamson <
dennistwilliamson@gmail.com> wrote:

>
>
> On Sat, Mar 24, 2018, 11:45 AM Clark Wang <dearvoid@gmail.com> wrote:
>
>> Hi Chet,
>>
>> Today I compiled bash5 (using default configuration) from the devel branch
>> (f602026a0ce - commit bash-20180316 snapshot) on macOS and found it breaks
>> one of my rc files. After some time of debugging I have the following
>> minimal example to reproduce the problem:
>>
>> $ bash5 -c 'for i; do echo; done; echo in'
>> bash5: -c: line 0: syntax error near unexpected token `in'
>> bash5: -c: line 0: `for i; do echo; done; echo in'
>> $
>>
>> Please take a look.
>>
>> -clark
>>
>
> Confirmed on macOS Sierra and Ubuntu 17.10.
>

bash5 -c 'for i; do echo in; done'

fails in the same way.

>


reply via email to

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