Can sh or csh do this VMS DCL trick??

John E. Davis davis at pacific.mps.ohio-state.edu
Sun Apr 28 08:35:03 AEST 1991


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 at ohstpy
internet: davis at pacific.mps.ohio-state.edu



More information about the Comp.unix.questions mailing list