From owner-freebsd-questions Tue Mar 6 3:55: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 99B8C37B718 for ; Tue, 6 Mar 2001 03:55:05 -0800 (PST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.2/8.11.2) id f26BsxT79564; Tue, 6 Mar 2001 12:54:59 +0100 (CET) (envelope-from stijn) Date: Tue, 6 Mar 2001 12:54:59 +0100 From: Stijn Hoop To: The Hermit Hacker Cc: freebsd-questions@freebsd.org Subject: Re: Redirecting stderr to syslog ... Message-ID: <20010306125459.D25494@pcwin002.win.tue.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from scrappy@hub.org on Tue, Mar 06, 2001 at 07:02:40AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, On Tue, Mar 06, 2001 at 07:02:40AM -0400, The Hermit Hacker wrote: > If I want to redirect stderr to a file, in tcsh, I do: > > >& > > If I want to redirect stdout to syslog, I do: > > | logger -p > > How would one redirect stderr to syslog? Analogous to the first example: |& logger -p (note: I haven't found a way to redirect stdout to something other than stderr in (t)csh - is this possible?) HTH, --Stijn -- If today is the first day of the rest of your life, what the hell was yesterday? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message