On 2/21/19 6:46 PM, John Van Sickle wrote:
> bash version: 5.0.2(1)-release
> OS: Debian Sid, Linux 4.20.10, x86_64
>
> Tab completion to list the contents of a directory will fail if the
> directory includes '[]' in its name.
Dropped a part from the original patch. Try the attached fix.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
*** ../bash-5.0-patched/bashline.c 2019-01-16 16:13:21.000000000 -0500
--- bashline.c 2019-02-22 09:29:08.000000000 -0500
***************
*** 3753,3757 ****
case '\\':
! if (*string == 0)
return (0);
}
--- 3766,3770 ----
case '\\':
! if (*string++ == 0)
return (0);
}