Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Oliver Geisen 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: References: <43A96B22-D3CB-11D8-91ED-000393CE9342 AT kreisbote DOT de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: . > 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 ). Either use bash, or use the standard bourne shell syntax, e.g., <&0, >&1 and >&2. See also . 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/