On Sun, 11 Apr 1999, 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. Ihad to do things like `yes|telnet somewhere|...`. 

Just use netcat then.

Regards,
Nir.

--
Nir Soffer * scorpios @ cs.huji.ac.il * http://www.cs.huji.ac.il/~scorpios/
"From the moment I picked your book up until I put it down I was
convulsed with laughter.  Some day I intend reading it."
                -- Groucho Marx, from "The Book of Insults"
Mail me with the subject 'get pgp key' for my PGP Public Key


Reply via email to