On 5/30/16 6:56 AM, Sergey Tselikh wrote:

> Bash Version: 4.3
> Patch Level: 42
> Release Status: release
> 
> Description:
> "<(...)" construct triggers syntax error in "for ((...; ...; ...)); do ...;
> done" syntax.
> 
> Repeat-By:
> $ for ((; 1<(1); )); do ...; done
> bash: syntax error near unexpected token `newline'
> 
> compare behavior to (with space after "<"):
> $ for ((; 1< (1); )); do ...; done
> 
> Fix:   I don't have a fix, sorry.

This was reported and fixed back in April 2014:

http://lists.gnu.org/archive/html/bug-bash/2014-04/msg00100.html

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to