[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix bind -X quoting
From: |
alex xmb ratchev |
Subject: |
Re: [PATCH] fix bind -X quoting |
Date: |
Wed, 19 Jul 2023 17:28:50 +0200 |
On Wed, Jul 19, 2023, 4:48 PM Chet Ramey <chet.ramey@case.edu> wrote:
> On 7/18/23 2:22 AM, Grisha Levit wrote:
>
> > This patch changes rl_macro_dumper to not untranslate the macro body
> > when passed a negative print_readably argument. This is technically an
> > API change, so maybe not the best fix, though I doubt it will impact any
> > real usage.
>
> Thanks for the report. It seems like your patch is incomplete, though.
> After applying it:
>
> $ bind -x '"\eX": echo "x"'
> $ bind -X
> "\eX": "echo "x""
>
> We probably need to suppress printing the double quotes around `out' if
> print_readably < 0.
>
dunno the context .. \" is another way
if has more than one word to preserve
greets
--
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
>
>
>
- [PATCH] fix bind -X quoting, Grisha Levit, 2023/07/18
- Re: [PATCH] fix bind -X quoting, Chet Ramey, 2023/07/19
- Re: [PATCH] fix bind -X quoting,
alex xmb ratchev <=
- Re: [PATCH] fix bind -X quoting, Grisha Levit, 2023/07/19
- Re: [PATCH] fix bind -X quoting, Chet Ramey, 2023/07/24
- Re: [PATCH] fix bind -X quoting, alex xmb ratchev, 2023/07/24
- Re: [PATCH] fix bind -X quoting, Chet Ramey, 2023/07/26
- Re: [PATCH] fix bind -X quoting, Grisha Levit, 2023/07/26
- Re: [PATCH] fix bind -X quoting, Chet Ramey, 2023/07/31
- Re: [PATCH] fix bind -X quoting, Chet Ramey, 2023/07/31
- Re: [PATCH] fix bind -X quoting, G. Branden Robinson, 2023/07/31
- Re: [PATCH] fix bind -X quoting, Chet Ramey, 2023/07/31