Re: bind -X shows inactive bindings (bindings removed using bind -r)

2019-12-13 Thread Koichi Murase
2019-12-14 3:06 Chet Ramey : > It takes maybe a dozen lines of code, and no modifications to readline, > to solve the problem with `bind -r'. There are a couple of other remaining > issues, but that one was easy. Thank you very much for your reply and support. I am glad to hear that this is

Re: bind -X shows inactive bindings (bindings removed using bind -r)

2019-12-13 Thread Chet Ramey
On 12/12/19 8:04 AM, Koichi Murase wrote: I also would like to see this problem fixed. In this February, I actually posted to this mailing list a patch fixing this problem (with another patch): https://lists.gnu.org/archive/html/bug-bash/2019-02/msg00038.html Although the first patch was

Re: bind -X shows inactive bindings (bindings removed using bind -r)

2019-12-13 Thread Chet Ramey
On 12/12/19 4:57 AM, Šimon Let wrote: Hi, according to `bind --help`, `bind -X` should "List key sequences bound with -x and associated commands in a form that can be reused as input.". However, when I remove a binding using `bind -r` it still shows up in the list. Yes. As you noted, it's a

Re: unquoted expansion not working (was Re: Not missing, but very hard to see)

2019-12-13 Thread Greg Wooledge
On Fri, Dec 13, 2019 at 10:25:15AM -0800, L A Walsh wrote: > I would assert that for the characters returned by a range that has > metacharacters in it, the metacharacters SHOULD be quoted or they will not > appear in the output. There's a larger issue to be addressed first. The man page says,

unquoted expansion not working (was Re: Not missing, but very hard to see)

2019-12-13 Thread L A Walsh
On 2019/12/12 19:03, Eli Schwartz wrote: On 12/12/19 9:57 PM, L A Walsh wrote: On 2019/12/12 13:01, Ilkka Virta wrote: On 12.12. 21:43, L A Walsh wrote: The backquote is in [6], and the backslash disappears, you just get the pair of quotes in [2] because that's how printf %q

Re: Not missing, but very hard to see (was Re: Backslash missing in brace expansion)

2019-12-13 Thread Chet Ramey
On 12/12/19 9:57 PM, L A Walsh wrote: The backquote is in [6], and the backslash disappears, you just get the pair of quotes in [2] because that's how printf %q outputs an empty string. -    I'm sorry, but you are mistaken.    The characters from 'Z' (0x5A) through 'z' (0x61) are: