How do I resolve a variable in a subshell inside of "bash -c"?
In the following, the second subshell -- the one with an "echo" inside -- resolves correctly. The first subshell -- with "touch" -- does not.
/bin/bash -c "\
A=/tmp/foo; \
echo $( touch \$A; ); \
echo $( echo in subshell, \$A; ); \
"