Redirecting debug info to another file
Hi,
Is it possible in shell scripts to redirect only the debug info to another file? i.e. If I run the script as sh -v or sh -x or if I selectively turn it on inside a script, by set -x, -v the o/p shld automatically go to another file. The basic output should still come on to the screen (all the echo's). Regards, Subu |
Did you try the easiest way???
using "2>" to redirect the standard error to whatever you want?? cheers walker |
All times are GMT -5. The time now is 12:04 AM. |