delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/12/10:08:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 12 Jul 2004 10:07:53 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Oliver Geisen <recnews AT kreisbote DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: Is there a /dev directory, or how to use /dev/stderr
In-Reply-To: <43A96B22-D3CB-11D8-91ED-000393CE9342@kreisbote.de>
Message-ID: <Pine.GSO.4.58.0407120956560.11227@slinky.cs.nyu.edu>
References: <43A96B22-D3CB-11D8-91ED-000393CE9342 AT kreisbote DOT de>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Mon, 12 Jul 2004, Oliver Geisen wrote:

> Hello,
>
> i'm missing the /dev directory.

No, you're not.  Try, for example, "ls /dev/null".  See the User's Guide:
<http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN825>.

> Espacially the stdin,stdout,stderr nodes to do shell-redirection.
> Is this implementation missing or am i to blind to find it ?

/dev/std{in,out,err} are bash artifacts.  I'm guessing you're using
/bin/sh, which on Cygwin is not the same as /bin/bash (see
<http://cygwin.com/acronyms/#CYNUX>).  Either use bash, or use the
standard bourne shell syntax, e.g., <&0, >&1 and >&2.  See also
<http://cygwin.com/ml/cygwin/2003-03/msg00643.html>.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019