Your message dated Mon, 24 Jun 2024 15:09:10 +0200
with message-id <[email protected]>
and subject line Re: bash: completion wrongly adds before $ when special
characters follow
has caused the Debian Bug report #741292,
regarding bash: completion wrongly adds before $ when special characters follow
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
741292: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741292
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bash
Version: 4.2+dfsg-0.1
Severity: normal
Completion wrongly adds a \ before $ when special characters follow:
% mkdir test
% touch test/a:
% X=test
% echo $X/<TAB>
results in:
% echo \$X/a\:
with a wrong \ before $ which is not meant to be escaped but to
refer to the variable X (as it is interpreted correctly during the
completion, otherwise "a:" wouldn't have been found).
It only happens if the completed file name contains a special
character (here: ":", which actually isn't special to the shell and
wouldn't need escaping AFAIK, but that's another issue ...)
-- System Information:
Debian Release: 7.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable')
Architecture: i386 (i686)
Versions of packages bash depends on:
ii base-files 7.1wheezy4
ii dash 0.5.7-3
ii debianutils 4.3.2
ii libc6 2.13-38+deb7u1
ii libtinfo5 5.9-10
Versions of packages bash recommends:
ii bash-completion 1:2.0-1
Versions of packages bash suggests:
pn bash-doc <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 5.2.21-2.1
On Mon, 10 Mar 2014 21:33:34 +0100 Frank Heckenbach
<[email protected]> wrote:
Completion wrongly adds a \ before $ when special characters follow:
% mkdir test
% touch test/a:
% X=test
% echo $X/<TAB>
results in:
% echo \$X/a\:
This no longer happens in Bash 5.2.21:
$ mkdir test
$ touch test/a:
$ X=test
$ echo $X/a<TAB>
$ echo $X/a\:
Regards,
--
Gioele Barabucci
--- End Message ---