#797631 bash-completion: Bash completion fails for files with newlines in name

#797631#5
Date:
2015-09-01 01:03:26 UTC
From:
To:
Dear Maintainer,

Bash tab-completion fails for file names that contain newlines.  It
provides multiple selections which correspond to the separate lines
contained in the file name.

For example:

$ python -c "open('foo\nbar','w')"
$ ls
foo?bar
$ ls ./f #and then tab complete
bar foo