bug-bash
[Top][All Lists]
Advanced

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

Re: $() parsing still broken


From: Christian Weisgerber
Subject: Re: $() parsing still broken
Date: Sun, 20 Sep 2009 16:20:00 +0200
User-agent: Mutt/1.4.2.3i

Chet Ramey:

> 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 Berkeley yacc.
> 
> The rest of the information from bashbug would help, since I can't
> reproduce it:

--------------->
Machine: amd64
OS: freebsd7.2
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='amd64' -DCONF_OSTYPE='fre
ebsd7.2' -DCONF_MACHTYPE='amd64-portbld-freebsd7.2' -DCONF_VENDOR='portbld' -DLO
CALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL  -DHAVE_CONFIG_H   -I
.  -I. -I./include -I./lib  -I/usr/local/include -O2 -fno-strict-aliasing -pipe
uname output: FreeBSD lorvorc.mips.inka.de 7.2-STABLE FreeBSD 7.2-STABLE #0: Sun
 Sep 13 14:00:52 CEST 2009     naddy@lorvorc.mips.inka.de:/usr/obj/usr/src/sys/G
ENERIC  amd64
Machine Type: amd64-portbld-freebsd7.2

Bash Version: 4.0
Patch Level: 33
Release Status: release
<---------------

--------------->
Machine: alpha
OS: openbsd4.6
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='alpha' -DCONF_OSTYPE='ope
nbsd4.6' -DCONF_MACHTYPE='alpha-unknown-openbsd4.6' -DCONF_VENDOR='unknown' -DLO
CALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL  -DHAVE_CONFIG_H   -I
.  -I. -I./include -I./lib  -I/usr/local/include -O2 -pipe
uname output: OpenBSD kemoauc.mips.inka.de 4.6 GENERIC#223 alpha
Machine Type: alpha-unknown-openbsd4.6

Bash Version: 4.0
Patch Level: 33
Release Status: release
<---------------

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de




reply via email to

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