On 16/12/07 Chuck Robey said:

> There;s one item that is much more easily done in csh/tcsh than in the 
> sh based ones .... that's redirecting the stderr along with the stdout. 
>  with tcsh, when I do a make, I commonly do a:
> 
> make |& tee makeout
> 
> which causes both the stdout and stderr files to be redirected to the 
> "makeout" make listing file.  I;'ve never figured out any reasonably 
> simple way to do that in any sh-like shell.  Is there any simble way 
> that you know of?

Yup. 

make 2>&1 | tee makeout

Now show me a simple way to redirect them to different files in csh.

foo 1>stdout.log 2>stderr.log

Mike
-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein

Attachment: signature.asc
Description: Digital signature

Reply via email to