bug-bash
[Top][All Lists]
Advanced

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

Re: nofork command substitution


From: Chet Ramey
Subject: Re: nofork command substitution
Date: Fri, 19 May 2023 16:24:33 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 5/19/23 11:56 AM, alex xmb ratchev wrote:

    Command substitution is a word expansion; word expansions are performed on
    words; command substitution occurs as part of a word. That all seems
    self-evident. The only reason to mention it is the quirk required to have
    the close brace act as a reserved word when it is needed to terminate the
    command (you know someone will eventually ask about it).


why this

Why what? Why the reserved word? So the parser will terminate the group
command without too much violence to the tokenizer.

--
``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/




reply via email to

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