Bug 701961 - Paths after "du " aren't quoted or escaped
Summary: Paths after "du " aren't quoted or escaped
Keywords:
Status: CLOSED DUPLICATE of bug 677446
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-04 12:27 UTC by James Heather
Modified: 2011-05-04 16:12 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-05-04 16:12:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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