Newsgroups: comp.unix.shell Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!ispd-newsserver!goose.ssd.kodak.com!weimer From: weimer@goose.ssd.kodak.com (Gary Weimer (253-7796)) Subject: Re: Concatenation of stdin and a file?? Message-ID: <1991May6.215817.9836@ssd.kodak.com> Sender: news@ssd.kodak.com Reply-To: weimer@ssd.kodak.com Organization: Eastman Kodak Co.; Rochester, NY References: <1991May6.160308.19911@uts.uni-c.dk> Date: Mon, 6 May 91 21:58:17 GMT In article <1991May6.160308.19911@uts.uni-c.dk>, neulynne@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 < |> |> 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 - | telnet '? weimer@ssd.kodak.com ( Gary Weimer )