Date:        Sun, 22 Nov 2020 00:04:21 +0900
    From:        Hyunho Cho <mug...@gmail.com>
    Message-ID:  
<cammw473rabokmm-+cbuv+s+xx+zhwn14g9sgnnkmrmz8ko_...@mail.gmail.com>


  | if command does not exist then the command stop with "command not found"
  | error but the command substitution executed completely

Yes, the args to any command are evaluated (which includes expanding command
substitutions and doing any redirections) before any attempt is made to
execute the command -- it needs to be, as the attempt to execute the command
actually executes it if it succeeds, so the args must be available for it,
and any redirected fd's already redirected.

kre


Reply via email to