Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!davis From: davis@pacific.mps.ohio-state.edu ("John E. Davis") Newsgroups: comp.unix.questions Subject: Can sh or csh do this VMS DCL trick?? Message-ID: Date: 27 Apr 91 22:35:03 GMT Sender: news@pacific.mps.ohio-state.edu Reply-To: davis@pacific.mps.ohio-state.edu (John E. Davis) Distribution: comp Organization: "Dept. of Physics, The Ohio State University" Lines: 32 Hi, In VMS DCL I can do: $ create post_news.txt $ deck Hi, In VMS DCL I can do: .... etc.... $ eod $ exit In other words, text following `$ deck' is treated as lines to be fed into the standard input of the previous command (create in this case). Finally, the `$ eod' terminates input and control is passed back to the DCL command procedure. How can I simulate this behavior in csh or sh? Solutions requiring two files are not acceptable. Thanks, -- John bitnet: davis@ohstpy internet: davis@pacific.mps.ohio-state.edu