Date: Sun, 29 Sep 2002 18:36:18 -0400 (EDT) From: Peter Leftwich <Hostmaster@Video2Video.Com> To: FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org> Subject: Re: man tcsh | col -b | grep -i stderr Message-ID: <20020929183434.J8434-100000@earl-grey.cloud9.net> In-Reply-To: <20020929145450.A308-100000@atlas.home>
index | next in thread | previous in thread | raw e-mail
On Sun, 29 Sep 2002, Mikko Työläjärvi 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 "|&"). > 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=cache:lCYkGCVJki8C:www.cs.washington.edu/homes/tanderl/UnixTutorial2.ppt+tcsh+example+stderr+redirect&hl=en&ie=UTF-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 = stdin, 1 = stdout, 2 = 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 messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020929183434.J8434-100000>
