This could be construed, perhaps, as an exec of sh
-c "function body". The effect, in intent, I think would be similar to using
exec ./script to invoke the shell indirectly, or to utilities implemented as
scripts built-in to the shell.
On Sunday, July 16, 2017 Martijn Dekker
Op 03-07-17 om 15:18 schreef Joerg Schilling:
> In our case, it is doubtful whether something like:
>
> var=value
>
> allows IO redirection at all, as there is no command. Note that we recently
> discovered that var=$(cmd) does not set $? because there is no regular
> command.
>
>