Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2005 13:44:22 +0300
From:      Nikolaos Vassiliadis <nikolaos.vassiliadis@teledome.gr>
To:        freebsd-questions@freebsd.org
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, Denny White <dennyboy@cableone.net>
Subject:   Re: problem updating src
Message-ID:  <200506131344.22620.nikolaos.vassiliadis@teledome.gr>
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
On Monday 13 June 2005 12:53, 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.

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.




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