Date: Mon, 13 Jun 2005 11:22:26 +0100 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: Denny White <dennyboy@cableone.net> Cc: freebsd-questions@freebsd.org Subject: Re: problem updating src Message-ID: <42AD5E62.6000607@dial.pipex.com> In-Reply-To: <20050613095353.GA83736@orion.daedalusnetworks.priv> References: <20050613043134.X1869@dualman.cableone.net> <20050613095353.GA83736@orion.daedalusnetworks.priv>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote: >On 2005-06-13 04:41, Denny White <dennyboy@cableone.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42AD5E62.6000607>