From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 10:47:38 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 76DF016A41C for ; Mon, 13 Jun 2005 10:47:38 +0000 (GMT) (envelope-from nikolaos.vassiliadis@teledome.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCCFF43D49 for ; Mon, 13 Jun 2005 10:47:36 +0000 (GMT) (envelope-from nikolaos.vassiliadis@teledome.gr) Received: from [192.168.1.71] ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id j5DAiM1q005206; Mon, 13 Jun 2005 13:44:22 +0300 From: Nikolaos Vassiliadis To: freebsd-questions@freebsd.org Date: Mon, 13 Jun 2005 13:44:22 +0300 User-Agent: KMail/1.6.2 References: <20050613043134.X1869@dualman.cableone.net> <20050613095353.GA83736@orion.daedalusnetworks.priv> In-Reply-To: <20050613095353.GA83736@orion.daedalusnetworks.priv> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 8bit Message-Id: <200506131344.22620.nikolaos.vassiliadis@teledome.gr> Cc: Giorgos Keramidas , Denny White 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:47:38 -0000 On Monday 13 June 2005 12:53, 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. In addition to what Giorgos said, you can use script(1), since you are saving stdout & stderr in one file. For example script /tmp/cvs.co.logs cvs ... > > - Giorgos > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- Νικόλαος Βασιλειάδης Τεχνικός Δικτύου Teledome SA Φιλαρέτου 10 & Δοϊράνης Καλλιθέα 176 72 Τηλ.: 210 955 1500 Φάξ: 210 956 3882 e-mail:nikolaos.vassiliadis@teledome.gr http://www.teledome.gr This e-mail is confidential. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete the copy from your system. TELEDOME SA is not responsible for, nor endorses, any opinion, recommendation, conclusion, solicitation, offer or agreement or any information contained in this communication. TELEDOME SA cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. If you suspect that the message may have been intercepted or amended, please contact the sender.