Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 14:23:03 -0800
From:      "Robert A Clarks" <raclark@regence.com>
To:        Joss Roots <osiris2002@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why this line never returns "2>&1" ?
Message-ID:  <88256855.007B140D.00@notes.or.regence.com>

next in thread | raw e-mail | index | archive | help


the first part of the command doesn't do any output, so tail is waiting forever
for input

You may want to do

cvsup -g ports.sup > mylog 2>&1 ; tail -F mylog
or
cvsup -g ports.sup 2>&1 | tee mylog | tail -F

[RC]





From: Joss Roots <osiris2002@yahoo.com> on 12/28/99 02:08 PM


To:   freebsd-questions@freebsd.org
cc:    (bcc: Robert A Clarks/BCBSO/TBG)
Subject:  Why this line never returns "2>&1" ?




hi there,
thanks for all the people who helped me
finish my shell script.

but one thing though, this line waits forever
and never seem to give control back to its shell
script to finsh the rest of the magic,

do something here ... <-- ok of  course
cvsup -g ports.sup > mylog 2>&1 | tail -F mylog
do somthing here.... <-- this is nevern reached

thanks again for helping.

=====
MAY THE FORCE BE WITH YOU.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message








To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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