Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2008 16:20:31 -0300
From:      Gonzalo Nemmi <gnemmi@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Which file can I find the error message that shows on the screen when I build my kernel?
Message-ID:  <200806221620.31198.gnemmi@gmail.com>
In-Reply-To: <485E9754.600@telenix.org>
References:  <3406.24.23.188.135.1214157813.squirrel@nexus.cs.usfca.edu> <485E9754.600@telenix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 22 June 2008 15:17:56 Chuck Robey wrote:
> make |& tee makeout
>
> where the complete ooutput goes into the "makeout" file.  The "&" there
> doesn't take it's normal meaning of throwing the task into the background,
> instead, what it does is to capture both the regular output plus the stderr
> output.  If you don't use it, you'll get the listing UNTIL the error, and
> it won't register the error, so don't forget it, nor change it's placement.

I wasn't aware of the use of "&" !

I thought that getting a new interactive shell would force tee to record 
errors too, as it was supposed to record the whole thing, not leaving 
anything out (the errors in this case =P)
 
Thanks a lot for the tip Chuck !
-- 
Blessings
Gonzalo Nemmi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806221620.31198.gnemmi>