| Summary: | Indexing an Array in Bash is not working as expected | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dimitar Yordanov <dyordano> | |
| Component: | bash | Assignee: | Siteshwar Vashisht <svashisht> | |
| Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.9 | CC: | dyordano, pstudeni | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1460926 (view as bug list) | Environment: | ||
| Last Closed: | 2017-06-13 07:39:44 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1460926 | |||
Description of problem: Indexing an Array in Bash is not working as expected Version-Release number of selected component (if applicable): bash-4.1.2-40.el6.x86_64 How reproducible: Always Steps to Reproduce: # r=(a b); # echo ${r[0]} a # echo ${r[1]} b # echo ${r[abc]} a # echo ${r[---abc]} b # echo ${r[---abc]} #