bug-bash
[Top][All Lists]
Advanced

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

bash-4.3 p42 Parser bug: for ((; 1<(1);)); do ...; done


From: Sergey Tselikh
Subject: bash-4.3 p42 Parser bug: for ((; 1<(1);)); do ...; done
Date: Mon, 30 May 2016 10:56:57 +0000

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-li$
uname output: Linux ubuntu 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

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.

reply via email to

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