problem updating src
nikolaos.vassiliadis at teledome.gr
Mon Jun 13 10:47:38 GMT 2005
On Monday 13 June 2005 12:53, Giorgos Keramidas wrote:
> On 2005-06-13 04:41, Denny White <dennyboy at 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 at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
Φιλαρέτου 10 & Δοϊράνης Καλλιθέα 176 72
Τηλ.: 210 955 1500
Φάξ: 210 956 3882
e-mail:nikolaos.vassiliadis at 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.
More information about the freebsd-questions