From owner-freebsd-questions Tue Dec 28 14:26:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bcbso.bcbso.com (bcbso.bcbso.com [199.2.126.250]) by hub.freebsd.org (Postfix) with SMTP id EAB2E14EA8 for ; Tue, 28 Dec 1999 14:26:17 -0800 (PST) (envelope-from raclark@regence.com) Received: from taurus.bcbso.com by bcbso.bcbso.com via smtpd (for [204.216.27.18]) with SMTP; 28 Dec 1999 22:26:17 UT Received: (private information removed) Received: (private information removed) X-Lotus-FromDomain: TBG From: "Robert A Clarks" To: Joss Roots Cc: freebsd-questions@freebsd.org Message-ID: <88256855.007B140D.00@notes.or.regence.com> Date: Tue, 28 Dec 1999 14:23:03 -0800 Subject: Re: Why this line never returns "2>&1" ? Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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