Date: Sun, 24 Dec 2000 11:48:13 +1300 From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: "David J. Kanter" <david.kanter@mindspring.com> Cc: "questions@FreeBSD.ORG" <questions@FreeBSD.ORG> Subject: Re: "make" output redirected to file Message-ID: <20001224114813.A11797@itouchnz.itouch> In-Reply-To: <20000923002313.A47384@freebsd.mindspring.com>; from david.kanter@mindspring.com on Sat, Sep 23, 2000 at 12:23:13AM -0500 References: <39CBB5C4.E494B639@home.com> <Pine.BSF.3.96.1000922235425.71499B-100000@xena.gsicomp.on.ca> <20000923002313.A47384@freebsd.mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 23, 2000 at 12:23:13AM -0500, David J. Kanter wrote:
> On Fri, Sep 22, 2000 at 11:56:41PM -0400, Matthew Emmerton wrote:
> > If you're using ksh or sh as your shell, executing 'command 2>&1 > file'
> > works well. (The logic here is this: 2>&1 says to redirect file handle 2
> > (stderr) to file handle 1 (stdout), which is then redirected to file.)
> ---end quoted text---
>
> I think it's the other way around (i.e., 2 is stdout and 1 is stderr).
No. 1 is stdout, 2 is stderr.
--
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
Experience is a hard teacher
because she gives the test first, the lesson afterwards
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?20001224114813.A11797>
