You need a way to find out where the output of some command ends. You can look for the shell prompt, or make your commands print their output encoded in some format (for instance MIME-encoded), but in any case, it is a hassle.for $i in 1 2 3 4; do sleep 1; echo $i; done
In reply to Re^4: channel SSH2
by salva
in thread channel SSH2
by rahulruns
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |