Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2002 10:17:42 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Sean LeBlanc <seanleblanc@americanisp.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Trying to build bbconf port
Message-ID:  <20020807091742.GD31679@happy-idiot-talk.infracaninophi>
In-Reply-To: <20020807012436.GB24879@hostwiththemost>
References:  <20020807012436.GB24879@hostwiththemost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 06, 2002 at 07:24:36PM -0600, Sean LeBlanc wrote:
> Side note: How can one capture both stderr and stdout from a make? I thought
> it was like this: make 1>&2 foo.file, but no joy.

That depends on your shell.  For csh, tcsh and alikes:

    make >& make.out

For sh, bash and similar:

    make > make.out 2>&1

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
Tel: +44 1628 476614                                  Marlow
Fax: +44 0870 0522645                                 Bucks., SL7 1TH UK

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?20020807091742.GD31679>