redirection to /dev/NULL not working in cygwin-1.5.7-1

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Sun Feb 1 18:31:00 GMT 2004


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/



More information about the Cygwin mailing list