[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tab completion error
From: |
Mike Jonkmans |
Subject: |
Re: tab completion error |
Date: |
Mon, 25 Sep 2023 18:16:32 +0200 |
On Mon, Sep 25, 2023 at 11:11:04AM -0400, Brian Vargo wrote:
> This is going to be very hard to explain over email. I tried to use script
> from util-linux in GNU bash v.5.1.16 on Ubuntu 22.04, but that doesn't seem
> to offer any help.
A smaller reproducer:
mkdir empty
cd empty
mkdir a\ b
touch a\ b/f\ 1
touch a\ b/f\ 2
ls "a b"/"f<TAB>
# f 1 f 2
ls "a b"/"a b/f # ends in space (correct)
The directory part is doubled.
While:
ls "a <TAB>
# f 1 f 2
ls "a b"/<TAB>
# f 1 f 2
ls a\ b/f # ends in space (correct)
Correct.
But changed "a b" into a\ b (which can be a nuissance).
--
Regards, Mike Jonkmans
- tab completion error, Brian Vargo, 2023/09/22
- Re: tab completion error, Chet Ramey, 2023/09/25
- Re: tab completion error, Brian Vargo, 2023/09/25
- Re: tab completion error, Brian Vargo, 2023/09/25
- Re: tab completion error,
Mike Jonkmans <=
- Re: tab completion error, Chet Ramey, 2023/09/25
- Re: tab completion error, Mike Jonkmans, 2023/09/25
- Re: tab completion error, Chet Ramey, 2023/09/28
- Re: tab completion error, Mike Jonkmans, 2023/09/28