Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020929183434.J8434-100000>