I'm running the following command and would expect that it would return me
BAR, as the new shell I create will run .mybashrc first, where it sets
echo $FOO will execute.
bash --rcfile .mybashrc -c 'echo $FOO'
However the result is empty. What has gone wrong?