Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 1999 00:08:29 +0100 (CET)
From:      Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Why this line never returns "2>&1" ? [Sorry Rephrasing the question]
Message-ID:  <199912282308.AAA02361@dorifer.heim3.tu-clausthal.de>

next in thread | raw e-mail | index | archive | help
Joss Roots wrote in list.freebsd-questions:
 > do something here ... <-- ok of  course
 > cvsup -g ports.sup > mylog 2>&1 | tail -F mylog
 > do somthing here.... <-- this is nevern reached

You don't want "tail", you want "tee".  You seem to confuse the
purpose of these two utilities.  Here's my suggestion:

   do something here ...
   cvsup -g ports.sup 2>&1 | tee mylog
   do something here ...

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


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?199912282308.AAA02361>