From owner-freebsd-questions Wed Mar 7 1:11:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id BB36337B719 for ; Wed, 7 Mar 2001 01:11:55 -0800 (PST) (envelope-from cjc@rfx-216-196-73-168.users.reflexcom.com) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Wed, 7 Mar 2001 01:09:52 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.1) id f279Bjh25905; Wed, 7 Mar 2001 01:11:45 -0800 (PST) (envelope-from cjc) Date: Wed, 7 Mar 2001 01:11:44 -0800 From: "Crist J. Clark" To: David Xu Cc: "Crist J. Clark" , "Jerry Y. Wang" , cjclark@alum.mit.edu, freebsd-questions@FreeBSD.ORG Subject: Re: Redirecting stderr to syslog ... Message-ID: <20010307011144.K1367@cjc-desktop.users.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <3AA52914.EB033F18@journalstar.com> <20010306231007.A36586@dragon.jerrywang.dyndns.org> <20010307000552.I1367@cjc-desktop.users.reflexcom.com> <14428093656.20010307163807@viasoft.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <14428093656.20010307163807@viasoft.com.cn>; from bsddiy@21cn.com on Wed, Mar 07, 2001 at 04:38:07PM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 07, 2001 at 04:38:07PM +0800, David Xu wrote: [snip] > it seems I can not separate stderr from stdout. Oh, I did not see the begining of the thread and didn't realize you wanted to separate them, program1 2>&1 >/dev/null | program2 In sh. The sooper-kludgy way in csh, ( program1 > /dev/null ) |& program2 -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message