Bug 78388

Summary: bash autocompletion: doesn't handle escaped names properly
Product: systemd Reporter: Michael Biebl <mbiebl>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.