Re: Fwd: [shellcheck] Bash arithmetic expansion diagnostics (#255)

2015-04-01 Thread Dan Douglas
On Wed, Apr 1, 2015 at 1:01 PM, Eduardo A. Bustamante López
 wrote:
> Already fixed:
>
> dualbus@yaqui:~/local/src/gnu/bash$ for ((; 1>(1) ;)); do break; done
> dualbus@yaqui:~/local/src/gnu/bash$
> GNU bash, version 4.4.0(1)-devel (x86_64-unknown-linux-gnu)
>
> On Wed, Apr 01, 2015 at 12:53:16PM -0500, Dan Douglas wrote:
>> Hi, This was noticed in a comment to a github issue. Just forwarding it 
>> along.
>>
>> $ for ((; 1>(1) ;)); do break; done
>>  -bash: syntax error near unexpected token `newline'
>>
>> $ echo "$BASH_VERSION"
>> 4.3.33(1)-release
>>
>> https://github.com/koalaman/shellcheck/issues/255#issuecomment-88452555

Oh awesome, nevermind then! :)



Re: Fwd: [shellcheck] Bash arithmetic expansion diagnostics (#255)

2015-04-01 Thread Eduardo A . Bustamante López
Already fixed:

dualbus@yaqui:~/local/src/gnu/bash$ for ((; 1>(1) ;)); do break; done
dualbus@yaqui:~/local/src/gnu/bash$ 
GNU bash, version 4.4.0(1)-devel (x86_64-unknown-linux-gnu)

On Wed, Apr 01, 2015 at 12:53:16PM -0500, Dan Douglas wrote:
> Hi, This was noticed in a comment to a github issue. Just forwarding it along.
> 
> $ for ((; 1>(1) ;)); do break; done
>  -bash: syntax error near unexpected token `newline'
> 
> $ echo "$BASH_VERSION"
> 4.3.33(1)-release
> 
> https://github.com/koalaman/shellcheck/issues/255#issuecomment-88452555