[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tab expansion of filename starting with = is wrong
From: |
Chet Ramey |
Subject: |
Re: Tab expansion of filename starting with = is wrong |
Date: |
Tue, 9 Apr 2024 14:59:14 -0400 |
User-agent: |
Mozilla Thunderbird |
On 4/9/24 10:08 AM, Martin Castillo wrote:
Hi,
in bash I noticed this problem:
$ echo foo >=1.2
$ ls =[TAB]
# ends up with
$ ls =\=1.2
ls: cannot access '==1.2': No such file or directory
Readline should set the line to either
$ ls =1.2
or
$ ls \=1.2
There is an explanation here:
https://lists.gnu.org/archive/html/bug-bash/2019-03/msg00030.html
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/