Bug 78388 - bash autocompletion: doesn't handle escaped names properly
Summary: bash autocompletion: doesn't handle escaped names properly
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-07 12:38 UTC by Michael Biebl
Modified: 2014-07-27 19:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Michael Biebl 2014-05-07 12:38:47 UTC
If there is an escaped name, autocompletion is not working properly.

Say you have a network-device my-eth.
If you run 
systemctl status and use the outcompletion, it will result in
systemctl status sys-subsystem-net-devices-my\x2deth.device

The outcompletion should use a \\ as one '\' is consumed by the shell or quote the argument.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.