Giorgos Keramidas wrote:

On 2005-06-13 04:41, Denny White <[EMAIL PROTECTED]> 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



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to