Package: bash
Version: 5.0-4
Severity: normal
With the default setting
complete -F _longopt rm
the autocompletion is broken on filenames or directories with ":?" at the
beginning.
# mkdir ':?aa'
# rmdir :<tab>
gives me
# rmdir :\:\?
which doesn't match the filename; I can finish completion by entering "aa",
but then "rm" rejects this name.
-- System Information:
Debian Release: 10.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.0.0-trunk-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8),
LANGUAGE=de_AT:de (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages bash depends on:
ii base-files 10.3
ii debianutils 4.8.6.1
ii libc6 2.28-10
ii libtinfo6 6.1+20181013-2
Versions of packages bash recommends:
ii bash-completion 1:2.8-6
Versions of packages bash suggests:
pn bash-doc <none>
-- no debconf information
--