"Peter L. Peres" wrote: > >MYVARIABLE=`telnet some.host.name 1234 | grep "the interesting line" | ..` > > With current bash/telnet this does not work as expected. Telnet chokes if > its stdin is not a tty. I had to do things like `yes|telnet somewhere|...`. http://pobox.com/~djb/software/ptyget-0.50.tar.gz