Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2009 23:11:17 +0100
From:      Chris Rees <utisoft@googlemail.com>
To:        Kent Stewart <kstewart@owt.com>
Cc:        fomin@pisem.net, freebsd-questions@freebsd.org
Subject:   Re: my kernel is not build/install
Message-ID:  <b79ecaef0906291511k1234de9ejae8cd7d686e3b88@mail.gmail.com>
In-Reply-To: <200906261401.25592.kstewart@owt.com>
References:  <12460400390643.1842379727.fomin@pisem.net> <200906261301.54442.kstewart@owt.com>  <12460479580239.49250165.fomin@pisem.net> <200906261401.25592.kstewart@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/6/26 Kent Stewart <kstewart@owt.com>:
>
> make buildkernel KERNCONF=FREEBSD1 2>&1 |
> tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log
>
> It leaves a complete log everytime I build a kernel. Your options would be
> different and I also use csh.
>


[chris@amnesiac]~% make buildkernel KERNCONF=FREEBSD1 2>&1 |tee
/var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log
Ambiguous output redirect.
[chris@amnesiac]~%

I think you've written that into a script for /bin/sh.

I've no idea how to pipe stderr in csh, but 2>&1 is NOT the way to do it!

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?



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