| Summary: | oddness in parameter expansion | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miroslav Lichvar <mlichvar> |
| Component: | bash | Assignee: | Roman Rakus <rrakus> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | maxamillion, rrakus, tsmetana |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-07 17:28:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Thanks for the report. It is known and probably will be fixed in next release. See http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00125.html, what is the issue reported upstream. Can you please try the latest built? Seems it is fixed. Works with bash-4.2.7-1.fc16, thanks! |
Description of problem: xterm configure script fails in rawhide with an odd error: line 5780: bad substitution: no closing `}' in ${icondir:-'\$(exec_prefix)/share/pixmaps'} It seems that when bash is started as /bin/sh, the following expression doesn't work: $ echo "${a:-'a/b'}" sh: bad substitution: no closing `}' in ${a:-'a/b'} Interesting is that removing the slash or the quotes or the double quotes from the expression makes it work. Version-Release number of selected component (if applicable): bash-4.2.0-0.1.rc2.fc15.x86_64 How reproducible: Always Steps to Reproduce: 1. echo "${a:-'a/b'}" Actual results: sh: bad substitution: no closing `}' in ${a:-'a/b'} Expected results: a/b