On Tue, Jan 30, 2024 at 10:04 AM Andreas Schwab <sch...@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