From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 10:22:29 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D86D16A41C for ; Mon, 13 Jun 2005 10:22:29 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D38943D48 for ; Mon, 13 Jun 2005 10:22:28 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out5.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Mon, 13 Jun 2005 11:23:07 +0100 Message-ID: <42AD5E62.6000607@dial.pipex.com> Date: Mon, 13 Jun 2005 11:22:26 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.8) Gecko/20050530 X-Accept-Language: en, en-us, pl MIME-Version: 1.0 To: Denny White References: <20050613043134.X1869@dualman.cableone.net> <20050613095353.GA83736@orion.daedalusnetworks.priv> In-Reply-To: <20050613095353.GA83736@orion.daedalusnetworks.priv> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Jun 2005 10:23:07.0778 (UTC) FILETIME=[E451EE20:01C57001] Cc: freebsd-questions@freebsd.org Subject: Re: problem updating src X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 10:22:29 -0000 Giorgos Keramidas wrote: >On 2005-06-13 04:41, Denny White wrote: > > >>Been using The Complete FreeBSD & doing okay until I tried using the >>following example to update /usr/src: >> >>cd /usr >>cvs co -r RELENG_5_4 src 2>&1 | tee /var/tmp/co.log >> >>I get this: >> >>Ambiguous output redirect >> >> > >You're using the wrong shell. The 2>&1 redirection for standard error >messages works fine in /bin/sh and its derivatives. It doesn't in csh. > >Run the command shown above in /bin/sh or Bash and everything should >work as expected. > > Or run cvs co -r RELENG_5_4 src |& tee /var/tmp/co.log in (t)csh. --Alex