bug-bash
[Top][All Lists]
Advanced

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

completion fails on a filename that contains an equal character


From: adff
Subject: completion fails on a filename that contains an equal character
Date: Wed, 06 Mar 2019 13:59:50 +0100
User-agent: XS4ALL Webmail


Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic uname output: Linux cws013 3.10.0-957.5.1.el7.x86_64 #1 SMP Wed Dec 19 10:46:58 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-redhat-linux-gnu

Bash Version: 4.2
Patch Level: 46
Release Status: release

Description:
The bash [tab] completion as found on redhat RHEL7.6 fails with a filename that has the = character. This happens when there are multiple matches for the part before the = character. The behavior is correct when there is only one match, or when the readline 'complete-filename' is invoqued using "meta /"


Repeat-By:
        touch foo=bar
        touch foobaz
        #type
        ls foo=
        #press [tab] to get completion
        ls foo=foo\=bar
        ls: cannot access foo=foo=bar: No such file or directory




reply via email to

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