delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/01/13:31:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Sun, 1 Feb 2004 13:31:04 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT 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 AT cygwin DOT com
References: <200402011817 DOT i11IHmCk048757 AT addr23 DOT addr DOT com>
Mime-Version: 1.0
In-Reply-To: <200402011817.i11IHmCk048757@addr23.addr.com>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT 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/

- Raw text -


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