> If you just want to put the stdout and stderr together, this works at > least in recent-enough versions of bash: > > ./prog.sh 2>&1 | tee prog.log > > But that's what you have above, so I think either you are not in a bash > shell or you have an old bash version. For me: > > $ echo $BASH_VERSION > 4.0.33(1)-release Well my version of bash is newer than yours - 4.1.7(1)-release. :) So I expect my test was incorrect. Let me go back and check things out. Thanks all for the great info in the thread. Josh