On 2021-01-23 at 00:47 +0700, pepa65 wrote: > It is otherwise very hard to get command output into a variable > without a subshell. > > Peter
Why do you want to avoid the subshell? Do you want to modify some variables there visible to the parent, or is it just for efficiency ?