From: [EMAIL PROTECTED] 
> Luke Bakken wrote:
> >> cmd1 2>&1 >$WHERE
> > 
> > This doesn't do what you think it does, which I'm assuming 
> is redirect
> > stderr and stdout to $WHERE.
> > 
> 
> What does it do?  I was of the belief that it is indeed doing 
> the above,
> and the log/scratch files I redirect to have always seemed to 
> back that
> up, showing both stdout- and stderr-looking output.  I'd 
> really like to
> know, and if there's something wrong with doing "2>&1 >" then what is
> the correct method?

cmd >$WHERE 2>&1

The order is important. 

DS

Reply via email to