I am running a script on tcsh that calls 50 other programs.
Execution takes about 20 minutes, so I want to see real-time what each
program puts out to stdout and stderr when it exits.
I also want to log stdout and stderr to a file.
Some of the programs also require input from stdin.

 'superScript | tee logFile' would be a good candidate to capture stdout,
but it doesn't capture stderr.

Q: is there a shell tool (for tcsh) that I could wrap around 'superScript'
to combine stdout and stderr before tee'ing to logFile?

Note, the clunky 2-terminal approach works for file rediretion
 A) 'superScript >>& logFile'
 B) 'tail -f logFile'
but I want to do better ............... Horst

P.S. I have tried aggregate commands using '(....)' and ';' but then the
output is somewhat buffered and not contineous.
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to