Subject: Re: 'make' output [1.6.2]
To: Mark Thomas <mark@theswamp.org>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 05/02/2004 10:06:21
On Sun, 2 May 2004, Mark Thomas wrote:

> How does one capture the output of running 'make' to a file?

In Bourne-style shells ("/bin/sh", "/bin/ksh", bash), I do

   make > mklog 2>&1 &

In "C-shells" ("/bin/csh", tcsh):

   make >& mklog &

(The "C-shell" syntax works with bash, too.) There are other
ways, involving "tee". Maybe some other folks will post their
favorites.

Frederick