On 5/25/23 1:19 PM, Robert Elz wrote:
Date: Thu, 25 May 2023 10:17:01 -0400
From: Chet Ramey <chet.ra...@case.edu>
Message-ID: <c3e74434-696f-0b56-9b15-0fa01dc02...@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 c...@case.edu http://tiswww.cwru.edu/~chet/