Date:        Thu, 25 May 2023 10:17:01 -0400
    From:        Chet Ramey <[email protected]>
    Message-ID:  <[email protected]>


  | a nofork command substitution is
  | '${' compound_list '}',

you omitted the extra char there, not that it matters for
the purpose here.

  | 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.

Of course, almost everything (or everything you'd imagine) in the shell
is a word, so this is not highly restrictive.

kre


Reply via email to