From owner-freebsd-questions Fri Dec 28 15:51:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 38FE637B421 for ; Fri, 28 Dec 2001 15:51:11 -0800 (PST) Received: from trittico.fiddi.com ([12.228.145.237]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011228235110.QHZI6450.rwcrmhc52.attbi.com@trittico.fiddi.com>; Fri, 28 Dec 2001 23:51:10 +0000 Date: Fri, 28 Dec 2001 15:51:10 -0800 (PST) From: Dave Runkle X-X-Sender: dave@trittico.fiddi.com To: Bernie Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Easy Questions -- newcomer In-Reply-To: Message-ID: <20011228154212.N59997-100000@trittico.fiddi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 2. How can i redirect the output of 'make' in c-shell with stdout > in one file and stderr in another? i thied this: > make >make_stdout.txt 2>make_stderr.txt > but i got messg ambigus redirection. i suspect that the above > works for bash only (or maybe not). In any case, what's the > equivalent for tcsh? Try script(1). It's installed with the base system, a utility to capture each and every character that hits your screen. You'll start it with, for instance: script /var/tmp/logs/buildworld-011228.log then go through all of your builds, and when you're done, type: exit to end the script. Now you can less /var/tmp/logs/buildworld-011228.log and view everything that happened, with full search capabilities. See 'man 1 script' for details. I think Clark answered the other questions quite nicely, so there is nothing more to add. Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message