|
From: | Chet Ramey |
Subject: | Re: nofork command substitution |
Date: | Thu, 25 May 2023 14:41:18 -0400 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 5/25/23 1:19 PM, Robert Elz wrote:
Date: Thu, 25 May 2023 10:17:01 -0400 From: Chet Ramey <chet.ramey@case.edu> Message-ID: <c3e74434-696f-0b56-9b15-0fa01dc02e40@case.edu> | a nofork command substitution is | '${' compound_list '}', you omitted the extra char there, not that it matters for the purpose here.
It's part of a compound_list.
| The difference, as you say, is | that a command substitution is allowed as part of a word, Not "allowed as", always is, that's the only place it can appear. It might be the whole part, a prefix part, a suffix part, or an embedded part, but it is always a part of a word.
The second half of the sentence is more relevant to the grammar discussion. -- ``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] |