Let's say I have the following script: script.sh and i want the verbose output in a logfile and simple output on screen.
Logfile should contain the csh -v script.sh output, and on the screen should be only the script.sh output.
I prefer using piped tee.
kshas the debug messages are redirected to STDERR, but it doesn't work forcshcshell. Please accept my apology - apparently I did not... the google...