On Sun, 29 Sep 2002, Peter Leftwich wrote:

> I would like to learn more about redirection and stderr but the manpage for
> tcsh does not have any information apparently about "&2>" or whatever:

Search for "redirect"...

> # 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.

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


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to