Bug 732428 - Doesn't tab-expand shell glob patterns
Doesn't tab-expand shell glob patterns
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: bash-completion (Show other bugs)
16
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
: Regression
Depends On:
Blocks: F16-accepted/F16FinalFreezeExcept
  Show dependency treegraph
 
Reported: 2011-08-22 08:52 EDT by Nils Philippsen
Modified: 2011-08-22 16:28 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-08-22 16:28:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Nils Philippsen 2011-08-22 08:52:09 EDT
Description of problem:
Without bash-completion, in a directory having e.g. a file called "somepackage-1.23.45.tar.gz", you could do stuff like this:

cp *1.23.45*<Tab>

which would expand the command line to the complete file name:

cp somepackage-1.23.45.tar.gz

At this point you could continue editing the line.

With bash-completion installed (as is the default on F-16, that's why I labeled this as a regression over F-15), pressing Tab results in no action at all, neither expansion nor anything else.

Version-Release number of selected component (if applicable):
bash-completion-1.3-5.fc16.noarch

How reproducible:
Reproducible

Steps to Reproduce:
See above.
  
Actual results:
Nothing happens when pressing <Tab>.

Expected results:
Expands to filename (or show alternatives if there is more than one file matching the glob), then lets me continue editing the command line.
Comment 1 Ville Skyttä 2011-08-22 16:28:20 EDT
This is a known problem in bash-completion but not a regression in it - bash-completion has never supported that behavior as far as I can tell.

http://alioth.debian.org/tracker/index.php?func=detail&aid=311982&group_id=100114&atid=413095

Note You need to log in before you can comment on or make changes to this bug.