Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Sun, 7 Jan 2001 12:49:50 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: dev/null
Message-ID: <20010107124950.A22232@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <3A579C6B.23537.152CFF@localhost> <3A584E4F.14775.318E1FA4@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A584E4F.14775.318E1FA4@localhost>; from soren@wonderstorm.com on Sun, Jan 07, 2001 at 11:09:03AM -0500

On Sun, Jan 07, 2001 at 11:09:03AM -0500, Soren Andersen wrote:
>On 6 Jan 2001, an entity purporting to be Gerrit P. Haase
>[Gerrit P. Haase <gerrit.haase@t-online.de>] wrote [regarding Re: dev/null]
>
>> > Gerrit P. Haase wrote:
>
>> > > I created a dev/null, but then i got this error:
>
>> > > # of unexpected failures        2
>> > > WARNING: find_version failed:
>> > > couldn't read file "/dev/null": permission denied
>
>One thing that I have not read anybody explain yet, in this thread: the 
>WinDOS system counterpart to UNI* 'dev/null' is simply 'nul' (or 'NUL'). If 
>you need a null file to redirect IN to a command I guess you'd use that. I 
>never try to redirect out to /dev/nul in Cygwin or otherwise, anyway -- 
>although scripts generated by others need to be accomodated. But 
>manually, I just use 'nul'.

/dev/null in cygwin eventually translates to the Windows NUL device.

There is no reason to use 'NUL' rather than '/dev/null' since they are
both the same thing ... unless you enjoy using MS-DOS constructs rather
than UNIX ones.  That's sort of anti-Cygwin, though.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

