echo 'testing' | `{echo -n 'tee ' ; for (i in 1 2 3) { echo -n ' >{echo '$i' received ; cat }' }} testing