> > Very simply, I'm trying to telnet to a site and get some data from a script. > > In HPUX, I would do this: > > > > echo "Alinetobesent" | telnet an.address.com 1234
Try this (just an example): (echo "group comp.os.linux.misc" ; sleep 5 ) | telnet news.alaska.net nntp This should work and you can can make the series inside the ()'s more complicated if you want to do multiple commands. Adam. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .