On Wed, Jul 19, 2023 at 10:47 AM Chet Ramey <chet.ra...@case.edu> wrote: > 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.
Oh good point. I guess we'd need to also print a backslash if the first character of the command is a quote.