Date: Sat, 23 Sep 2000 00:23:13 -0500 From: "David J. Kanter" <david.kanter@mindspring.com> To: "questions@FreeBSD.ORG" <questions@FreeBSD.ORG> Subject: Re: "make" output redirected to file Message-ID: <20000923002313.A47384@freebsd.mindspring.com> In-Reply-To: <Pine.BSF.3.96.1000922235425.71499B-100000@xena.gsicomp.on.ca>; from matt@gsicomp.on.ca on Fri, Sep 22, 2000 at 11:56:41PM -0400 References: <39CBB5C4.E494B639@home.com> <Pine.BSF.3.96.1000922235425.71499B-100000@xena.gsicomp.on.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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). --=20 David Kanter --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.3 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE5zD5BWfgr3tXvHGIRAuBuAJ4mL20n3KIm1G95MoHTz1esleVKnQCdEJLz zmQY3D6/AvVmXEYz70lbcv0= =fJCK -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- 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?20000923002313.A47384>