|
From: | Chet Ramey |
Subject: | Re: About `M-C-e` expand result `'` failed |
Date: | Wed, 31 Jan 2024 16:25:18 -0500 |
User-agent: | Mozilla Thunderbird |
On 1/30/24 10:59 AM, Zachary Santer wrote:
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 theoriginal word are removed unless they have been quoted themselves (quote removal).
Quote removal is part of the shell word expansion process. POSIX lists it as one of the word expansions, and it is. https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06 -- ``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/
[Prev in Thread] | Current Thread | [Next in Thread] |