Subject: Re: Unixism, pipes and pkgsrc
To: None <jan.m.danielsson@gmail.com>
From: Takahiro Kambe <taca@back-street.net>
List: netbsd-users
Date: 08/22/2007 10:08:34
In message <46CB8899.6010605@gmail.com>
on Wed, 22 Aug 2007 02:51:37 +0200,
Jan Danielsson <jan.m.danielsson@gmail.com> wrote:
> 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
>
> (Yes, I want to append to the build.log file)
I think that you want do was:
% make package >> /tmp/build.log 2>&1
--
Takahiro Kambe <taca@back-street.net>