Bug 701961

Summary: Paths after "du " aren't quoted or escaped
Product: [Fedora] Fedora Reporter: James Heather <drfudgeboy>
Component: bash-completionAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: sheltren, ville.skytta
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-05-04 16:12:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Heather 2011-05-04 12:27:39 UTC
Description of problem:

After "du ", completions of paths with special characters in them should be escaped or quoted, but they're not.

Try creating a directory called "dir with spaces". If you type

  cd dir

and hit tab, it'll complete as

  cd dir\ with\ spaces

which is correct. But with

  du dir

it'll complete as

  du dir with spaces

which goes wrong because it's treated as three separate parameters.

Comment 1 Ville Skyttä 2011-05-04 16:12:48 UTC
Feel free to reopen if the fix in #677446 comment 1 doesn't fix it for you.

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