problem updating src

Alex Zbyslaw xfb52 at dial.pipex.com
Mon Jun 13 10:22:29 GMT 2005


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.
>  
>
Or run

cvs co -r RELENG_5_4 src |& tee /var/tmp/co.log

in (t)csh.

--Alex





More information about the freebsd-questions mailing list