( while true do echo foo ?!AMP?! cat <<-\EOF ?!LOOP?! bar EOF done ?!AMP?! while true; do echo foo && cat bar ?!LOOP?! done )