# A script on stdin shares stdin with the commands it runs: the shell must # not read ahead of the command it is executing. printf 'read v\ndata line\necho "v=$v"\n' | $TSH printf 'read v\ndata line\necho "v=$v"\n' >in.sh; $TSH in2.sh; $TSH in3.sh; $TSH /dev/null; echo "noscript $?"