Subject: Re: Unixism, pipes and pkgsrc
To: Jan Danielsson <jan.m.danielsson@gmail.com>
From: Malcolm Herbert <mjch@mjch.net>
List: netbsd-users
Date: 08/22/2007 11:02:50
On Wed, Aug 22, 2007 at 02:51:37AM +0200, Jan Danielsson wrote:
|-----BEGIN PGP SIGNED MESSAGE-----
|Hash: SHA512
|
|Michael Parson wrote:
|> It might help if you posted your script, or at least the sections of the
|> script that are handling the redirection and your invocation of said
|> script.
|
|cd /usr/pkgsrc/any/package
|make package 2>&1 >> /tmp/build.log

how about:

( make package 2>&1 ) >> /tmp/build.log

creates a sub shell, but shouldn't consume too many more resources

-- 
Malcolm Herbert                                This brain intentionally
mjch@mjch.net                                                left blank