Hey Chet,
I can reproduce it. What can I do to help tracking it down?
bon...@core:~/devel/bash-4.0$ ./bash -c 'echo $(echo \|)'
./bash: command substitution: line 1: syntax error near unexpected token `)'
./bash: command substitution: line 1: `echo \|)'
bon...@core:~/devel/bash-4.0$ ./bash -c
Jan Schampera jan.schamp...@web.de writes:
I can reproduce it. What can I do to help tracking it down?
Make sure the parser was regenerated after applying patch 1.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
And
Chet Ramey:
I suppose the only real variable is the revision of bison:
2.4.1 and 2.3 on my FreeBSD and OpenBSD box, respectively.
--
Christian naddy Weisgerber na...@mips.inka.de
Christian Weisgerber wrote:
Chet Ramey:
I suppose the only real variable is the revision of bison:
2.4.1 and 2.3 on my FreeBSD and OpenBSD box, respectively.
Try 1.875 and see if the problems go away. That version worked
for me on FreeBSD; my Mac OS X boxes use 2.0
Chet
--
``The lyf so
Chet Ramey:
I suppose the only real variable is the revision of bison:
2.4.1 and 2.3 on my FreeBSD and OpenBSD box, respectively.
Try 1.875 and see if the problems go away.
Red herring. I found the problem, it is embarrassingly stupid, and
Andreas was right. The fault lies with the
Jan Schampera schrieb:
It was a fresh install. Unpacking source + applying pathces, then
build *scratches beard*.
And it was done without bison - my bad. Works now.
Jan
Christian Weisgerber na...@mips.inka.de writes:
Even in the latest bash, 4.0.33, $() parsing is still broken:
$ bash -c 'echo $(echo \|)'
bash: -c: line 0: unexpected EOF while looking for matching `)'
bash: -c: line 1: syntax error: unexpected end of file
This has been fixed with patch 1,
Christian Weisgerber wrote:
Even in the latest bash, 4.0.33, $() parsing is still broken:
$ bash -c 'echo $(echo \|)'
bash: -c: line 0: unexpected EOF while looking for matching `)'
bash: -c: line 1: syntax error: unexpected end of file
And yes, this is bash built with GNU bison, not