I read How do I set a variable to the output of a command in Bash? and tried to do that twice:
TESTVAR=$(echo 1) $(echo 2)`
TESTVAR="$(echo 1)" "$(echo 2)"
TESTVAR=`echo 1` `echo 2`
All three options fail with -bash: 2: command not found
.
Bash version 4.3.30