Re: wrong backtick escaping on autocomplete

2015-05-12 Thread Chet Ramey
On 5/9/15 1:13 AM, Igor Bogomazov wrote: > GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu) > > interactive bash can escape one backtick properly, but not > if there are two backticks in a path More precisely, when one is in the directory portion and one is in the filename portion (as in

Re: [PATCH] wrong backtick escaping on autocomplete

2015-05-11 Thread Chet Ramey
On 5/11/15 3:02 PM, Igor Bogomazov wrote: > in devel branch backticks are not escaped in multibyte character locale > > this patch fixes that and the previously reported issue Thanks for the patch; I'll take a look. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer

[PATCH] wrong backtick escaping on autocomplete

2015-05-11 Thread Igor Bogomazov
in devel branch backticks are not escaped in multibyte character locale this patch fixes that and the previously reported issue for devel branch --- bashline.c | 6 -- include/shmbchar.h | 1 + lib/sh/shmbchar.c | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/

wrong backtick escaping on autocomplete

2015-05-09 Thread Igor Bogomazov
GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu) interactive bash can escape one backtick properly, but not if there are two backticks in a path preparations: $ mkdir /tmp/back\`tick $ touch /tmp/back\`tick/back\`tick then: 1. type in "stat /tmp/back" and press 2. a correct path is a