[Bash-completion-devel] [bash-completion-Bugs][313635] Complete any filename correctly

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Wed May 16 07:00:29 UTC 2012


Bugs item #313635, was opened at 2012-05-16 09:00 by Victor Engmark
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313635&group_id=100114

Status: Open
Priority: 3
Submitted By: Victor Engmark (l0b0-guest)
Assigned to: Nobody (None)
Summary: Complete any filename correctly 
Distribution: None
Originally reported in: None
Milestone: None
Status: None
Original bug number: 


Initial Comment:
How to reproduce:
1. cd -- "$(mktemp -d)"
2. Run `touch $'foo\nbar'`
3. Type `rm foo` and press TAB

Result: Prints two autocompletion items "bar" and "foo".

Expected result: Should autocomplete the full quoted filename with embedded newline.

Probably the only way to do this for all filenames would be to separate completions internally by \0.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313635&group_id=100114



More information about the Bash-completion-devel mailing list