From owner-freebsd-questions@FreeBSD.ORG Mon Jun 29 22:11:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C39EB1065672 for ; Mon, 29 Jun 2009 22:11:38 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 504508FC0A for ; Mon, 29 Jun 2009 22:11:37 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: by ey-out-2122.google.com with SMTP id 9so362012eyd.3 for ; Mon, 29 Jun 2009 15:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=0IkDbzAW+4x6h4aebsab6oNtDvQrWH5E7JE4S3arr3U=; b=BQXAX6KBMI4ONCcwKCgcCNBprB7EpP8Z2ukb+VhaIBw9weg9AueEjL3berqevOSFrK Yf3ELeuy+laLSB//kMZoFTdw9kOYKiQxQnIeUEmKkgnwUOd42cw1lrUnzLKH/L9Vm9wm d3pFyDs8g2IPvS2uZbn0tYYRNg8gPpGhKIwRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=OvXQnD2HydsgsUIz7XoJ5rv+UqEzYVboZJQo+LhPgM0Ysphxn64rCgMsSt2eMwyCk8 yOsGm7XhNZmmD2yO4hDW7LYYTT0Dnnq8IBq/txHTHRB3+NhPFdSDSX4u/fr9dQiLEdgt Z9vh/SYxWDfRl/BFRt5McEPm4T3jSfiZBsPZw= MIME-Version: 1.0 Received: by 10.216.26.201 with SMTP id c51mr2213052wea.228.1246313497119; Mon, 29 Jun 2009 15:11:37 -0700 (PDT) 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> From: Chris Rees Date: Mon, 29 Jun 2009 23:11:17 +0100 Message-ID: To: Kent Stewart Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: fomin@pisem.net, freebsd-questions@freebsd.org Subject: Re: my kernel is not build/install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 22:11:39 -0000 2009/6/26 Kent Stewart : > > 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?