bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash: ":?xxx" filename broken on autocomplete


From: Gioele Barabucci
Subject: Re: bash: ":?xxx" filename broken on autocomplete
Date: Sat, 27 Apr 2024 23:28:49 +0200
User-agent: Mozilla Thunderbird

Control: found -1 5.2.21-2

On Tue, 27 Aug 2019 16:36:03 +0200 Philipp Marek <philipp@marek.priv.at> wrote:
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.

In bash 5.2.21(1) the filename is now fully completed, but the stray ":" at the beginning is still produced:

    $ mkdir ':?aa'
    $ rmdir :<TAB>
    $ rmdir :\:\?aa/

Regards,

--
Gioele Barabucci



reply via email to

[Prev in Thread] Current Thread [Next in Thread]