Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sun, 1 Feb 2004 13:31:04 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: redirection to /dev/NULL not working in cygwin-1.5.7-1
Message-ID: <20040201183104.GA23348@redhat.com>
Mail-Followup-To: cygwin@cygwin.com
References: <200402011817.i11IHmCk048757@addr23.addr.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200402011817.i11IHmCk048757@addr23.addr.com>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

On Sun, Feb 01, 2004 at 10:17:48AM -0800, Dmitry Stupakov wrote:
>I just upgraded to the latest 1.5.7-1:
>$ uname -va
>CYGWIN_NT-5.1 perun 1.5.7(0.109/3/2) 2004-01-30 19:32 i686 unknown unknown Cygwin
>
>and noticed that my scripts which use redirection to /dev/NULL stopped 
>working (they worked with the previous version 1.5.5;
>$ /usr/bin/perl /d/home/.fetchyahoo/fetchyahoo.pl > /dev/NULL                   bash: /dev/NULL: No such file or directory
>
>Does anybody else have this problem?

You were relying on a cygwin bug.  It's '/dev/null' not '/dev/NULL'.

cgf

--
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/

