On Thu, Mar 1, 2012 at 8:47 AM, Csaba Raduly wrote: > On Thu, Mar 1, 2012 at 8:23 AM, marco atzeri wrote: >> On Thu, Mar 1, 2012 at 8:13 AM, Paul Allen Newell wrote: > (snip) >>> I also noticed that if I run "make >& make.out" that the message is printed >>> to the terminal and is not in make.out. What am I missing to capture all >>> output in make.out? >> >> I like this way >> >> make &2>1 |tee make.out >> >> "&2>1" redirect the error message to the std output > > Shouldn't that be > > make 2>&1 | tee make.out
yes correct, typo from my side Paul, looks on http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html http://www.linuxtopia.org/online_books/advanced_bash_scripting_guide/io-redirection.html for further info. > > Csaba > -- Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple