Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 7 Jan 2001 12:49:50 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: dev/null Message-ID: <20010107124950.A22232@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3A579C6B DOT 23537 DOT 152CFF AT localhost> <3A584E4F DOT 14775 DOT 318E1FA4 AT 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 ] 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