bug-bash
[Top][All Lists]
Advanced

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

Re: About `M-C-e` expand result `'` failed


From: Zachary Santer
Subject: Re: About `M-C-e` expand result `'` failed
Date: Tue, 30 Jan 2024 10:59:54 -0500

On Tue, Jan 30, 2024 at 10:04 AM Andreas Schwab <schwab@suse.de> wrote:

> The command is doing exactly what it is documented to do, that is do all
> of the shell word expansions.
>

Quote Removal shows up as a subsection of the Shell Expansion section in
the manual, but it doesn't show up in the list of expansions at the
beginning of that section.[1] Additionally, we see the following:
> After these expansions are performed, quote characters present in the
original word are removed unless they have been quoted themselves (quote
removal).
and
> After all expansions, quote removal (see Quote Removal) is performed.
Clearly setting quote removal apart from the word expansions listed in that
section.

Whether it makes sense, building from that, that some backslashes would
need to be added, like I said in my earlier email, I don't know. But quote
removal should not occur.

[1] https://www.gnu.org/software/bash/manual/html_node/Shell-Expansions.html


reply via email to

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