From owner-freebsd-questions Sun Sep 29 15:36:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 460D237B404 for ; Sun, 29 Sep 2002 15:36:19 -0700 (PDT) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDFDA43E3B for ; Sun, 29 Sep 2002 15:36:18 -0700 (PDT) (envelope-from Hostmaster@Video2Video.Com) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 4530328B60 for ; Sun, 29 Sep 2002 18:36:18 -0400 (EDT) Date: Sun, 29 Sep 2002 18:36:18 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: FreeBSD LIST Subject: Re: man tcsh | col -b | grep -i stderr In-Reply-To: <20020929145450.A308-100000@atlas.home> Message-ID: <20020929183434.J8434-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 29 Sep 2002, Mikko Ty=F6l=E4j=E4rvi wrote: > > # man tcsh | col -b | grep -i stderr > > # [no output] > > Can someone direct me to the proper manpage? `man stderr` did not have= the > > information, nor did `man sh` - please help. Thanks kindly, > The format for redirects differ between "csh" (and derivates) and > "sh". As I recall, csh can send stderr to stdout, and not much else > (you append a "&" to whatever redirector you're using, e.g. ">&" or "|&")= =2E > I haven't used [t]csh for a very, very long time. Right after posting this, I found via a Google search: http://216.239.37.100/search?q=3Dcache:lCYkGCVJki8C:www.cs.washington.edu/h= omes/tanderl/UnixTutorial2.ppt+tcsh+example+stderr+redirect&hl=3Den&ie=3DUT= F-8 I guess the way I'll remember it is that in order to save stderr you just poke the fat little boy in the bum, like this >& :) > To be able to decipher the documentation of redirection in "sh", you > need to know the numbers of the standard descriptors: > 0 =3D stdin, 1 =3D stdout, 2 =3D stderr. > $.02, > /Mikko Thank you though for your timely info! -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message