Concatenation of stdin and a file??

Gary Weimer 253-7796 weimer at goose.ssd.kodak.com
Tue May 7 07:58:17 AEST 1991


In article <1991May6.160308.19911 at uts.uni-c.dk>, neulynne at uts.uni-c.dk
(Mogens Lynnerup) writes:
|> I wonder if anyone can help one of my colleges with a problem that has been 
|> teasing us a bit.
|> 
|> What he would like to do is to concatenate stdin and some file so he can do
|> something like:
|> 			telnet <some-node> < <some-file>
|> 
|> and when the file is exhausted telnet should continue accepting input
from the
|> keyboard and NOT exit due to an EOF-condition from the file.

how about 'cat <some-file> - | telnet <some-node>'?

weimer at ssd.kodak.com ( Gary Weimer )



More information about the Comp.unix.shell mailing list