Bug 703687 - cp, mv, rm, ls (etc.) remove escaped spaces on tab
Summary: cp, mv, rm, ls (etc.) remove escaped spaces on tab
Keywords:
Status: CLOSED DUPLICATE of bug 677446
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 14
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-11 02:12 UTC by Ted Pavlic
Modified: 2011-05-11 05:59 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-05-11 05:59:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ted Pavlic 2011-05-11 02:12:45 UTC
Description of problem:
After a recent update to bash-completion, tab completion of commands like:

cp
rm
mv
ls

and others remove escaped spaces. For example, if there is a directory called "This Directory", doing:

cp This\ <tab>

will result in:

cp This Directory

without an escaped space. The command "cd" does escaping properly.

Version-Release number of selected component (if applicable):
Fedora 14

How reproducible:
Every time

Steps to Reproduce:
1. Issue: mkdir 'This Directory'
2. Issue: cp This\ <tab>
3.
  
Actual results:
Command is replaced with:
cp This Directory

Expected results:
Command should be replaced with:
cp This\ Directory
or a quoted form. The correct behavior exists already with
cd This\ <tab>
which is replaced properly.

Additional info:

Comment 1 Ville Skyttä 2011-05-11 05:59:55 UTC
Feel free to reopen if the workaround or the new update mentioned in #677446 does not work for you.

*** This bug has been marked as a duplicate of bug 677446 ***


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