Bugs item #313635, was changed at 2012-05-16 11:00 by Igor Murzov You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313635&group_id=100114
>Status: Closed 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. ---------------------------------------------------------------------- >Comment By: Igor Murzov (garik-guest) Date: 2012-05-16 15:04 Message: Duplicate of the bug #311399 (https://alioth.debian.org/tracker/index.php?func=detail&aid=311399&group_id=100114&atid=413095). And also this bug is probably the bug in bash. You can ask bash developers to use '\0' for compgen as a separator, this would solve the issue. ---------------------------------------------------------------------- You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313635&group_id=100114 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel