bb() { ( cat << EOF foo bar EOF ) echo after subshell } type bb mkcoprocs() { coproc a { cat <