Several years ago I did several UNIX script with Korn shell; however the c shell bit is different.
How does one capture information in both a file "and" to the screen in the same c shell script?
For example i can do the following:
echo " operation x y z was successful" >>! test.log
echo " operation x y z was successful " > /dev/tty
Now how does capture in the log and display on the screen? I know you may write double statments for redirecting to log and screen. Is there a clean way to do this in a c shell?
Thanks in Advance