| Summary: | "shopt -s direxpand" should be default | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Paulo Andrade <pandrade> |
| Component: | bash | Assignee: | Siteshwar Vashisht <svashisht> |
| Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.2 | CC: | jkejda, olchansk, pandrade |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-07-11 13:37:59 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: | 1298243, 1420851 | ||
|
Description
Paulo Andrade
2016-10-07 18:37:28 UTC
Paulo, I am not able to reproduce this issue. Here is the output from my system : # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3 (Maipo) # rpm -q bash bash-4.2.46-20.el7_2.x86_64 # cd /root/ # mkdir fir # test=/root/fir # echo $test /root/fir # touch $test/tree.txt 'ls $test/<TAB>' gives # ls $test/tree.txt No escape character '\' before '$'. # ls '$test'<TAB> I don't get "bash: unexpected EOF while looking for matching `''" # ls "$test"/<press tab> gives : # ls $test/tree.txt Are you able to reproduce it on RHEL-7.3 ? So I was missing bash-completion package from my system. I am able to reproduce it now. *** Bug 1376970 has been marked as a duplicate of this bug. *** This is a behavior change from RHEL 6 to RHEL 7 and it is not a good idea to change behavior during minor releases. Also, it is easy to workaround this behavior by setting "shopt -s direxpand". I am closing it as wontfix. |