Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2005 12:53:54 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Denny White <dennyboy@cableone.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: problem updating src
Message-ID:  <20050613095353.GA83736@orion.daedalusnetworks.priv>
In-Reply-To: <20050613043134.X1869@dualman.cableone.net>
References:  <20050613043134.X1869@dualman.cableone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

- Giorgos




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