Package: bash
Version: 4.3-14
Severity: minor

Dear Maintainer,

Tab completion seems to work fine for file names with special
characters. Except with newlines:

touch "$(echo -e 'a\ttab')"
touch "$(echo -e 'with-a\rcr')"
touch "$(echo -e 'but-a\nnl')"

Tab completion works fine for the first two files. But for the last one
I get:

$ echo b<tab><tab>
but-a  nl     

$ echo bu<tab><tab>
but-a  nl     

and so forth.

I tried '\echo' instead, just in case this is cased by a broken
completion function. But I get the same result.

I'll just note that this is a minor issue I never actually ran into in
"real life".

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bash depends on:
ii  base-files   9.4
ii  dash         0.5.7-4+b1
ii  debianutils  4.5.1
ii  libc6        2.19-22
ii  libncurses5  6.0+20150810-1
ii  libtinfo5    6.0+20150810-1

Versions of packages bash recommends:
ii  bash-completion  1:2.1-4.2

Versions of packages bash suggests:
pn  bash-doc  <none>

-- no debconf information

Reply via email to