From owner-freebsd-questions Tue May 30 16: 1:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 6604E37B5FE for ; Tue, 30 May 2000 16:01:28 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12wtBJ-0001OT-00; Tue, 30 May 2000 22:04:09 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12wtBI-000IcB-00; Tue, 30 May 2000 22:04:08 +0100 Date: Tue, 30 May 2000 22:04:08 +0100 From: Ben Smithurst To: Archie Cobbs Cc: freebsd-questions@freebsd.org Subject: Re: basic sh(1) question Message-ID: <20000530220408.F99925@strontium.scientia.demon.co.uk> References: <200005302013.NAA33987@bubba.whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200005302013.NAA33987@bubba.whistle.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Archie Cobbs wrote: > In sh(1), how do I make both the stdout and stderr output of a command > get piped together into another command? foo 2>&1 | bar -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message