Bash fails parsing certain statements using process-substitution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash
The following 3-line shell script fragment produces a parser error:
cat < <(
# '
echo b
)
"./bashbug.sh: line 2: bad substitution: no closing `)' in <("
The statement parses correctly, if I remove the apostrophe from the comment. The bug is reproduceable also with the latest upstream bash v4.2, when compiled from source, so I guess it applies to natty, too.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: bash 4.1-2ubuntu4
ProcVersionSign
Uname: Linux 2.6.35-28-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon May 9 12:43:13 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: bash