echo $( if x; then echo foo ) echo should not see this