Xref: utzoo comp.unix.wizards:21350 comp.unix.questions:21250 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!pasteur!ophelia.berkeley.edu!c164-dm From: c164-dm@ophelia.berkeley.edu (Tony Rems) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: How to toggle process tracing from a shell script. Keywords: shell tracing csh Message-ID: <23828@pasteur.Berkeley.EDU> Date: 9 Apr 90 10:38:40 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: c164-dm@ophelia.berkeley.edu (Tony Rems) Organization: University of California, Berkeley Lines: 14 I hope this question isn't too light for you wiz's out there, but I have a csh script in which I'd like to implement an option to turn on tracing output of stdin, stdout and stderr for all processes invoked and then be able to turn it off. So, what I want is something like 'script', but script won't do it since it forks a copy of the csh and tee won't trace the output of the invoked programs like 'gcc'. Any ideas on how I can trace all the streams would be greatly appreciated. Please respond to this account and/or post responses to comp.unix.wizards. Thanks in advance. -Tony