Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!ncrlnk!udcps3!selig From: selig@udcps3.cps.udayton.edu (Paul D. Selig) Newsgroups: comp.unix.questions Subject: Shell Logging Message-ID: <355@udcps3.cps.udayton.edu> Date: 19 Oct 89 19:05:55 GMT Reply-To: selig@udcps3.cps.udayton.edu (Paul D. Selig) Organization: University of Dayton Computer Science Department Lines: 23 I have a simple question for all you "shell" wizards out there: I need to have a way that will take a shell script that is written by a student and run that script, while at the same time writing all input (either from the keyboard or a file), output, and error output to a "log" file, while at the same time accepting input from the keyboard and writing the output to the screen. It would need to be invoked as follows: runandlog logfile which would run the script and write the input/output/error output to the file . This also needs to to be run under the Bourne shell :-) Any and all help E-mailed to the above address will be appreciated!!! Paul Selig -- | | Paul Selig, Jr. Systems Administrator | --|- Computer Science Department, Anderson Center 133 | | | | The University of Dayton, Dayton, Ohio 45469 --|- | BITNET: selig@dayton.bitnet ---- UUCP: selig@cps.udayton.edu or ...!uunet!ncrlnk!udcps3!selig