delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/10/04:20:15

Date: Tue, 10 Jul 2001 11:18:24 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tom St Denis <tomstdenis AT yahoo DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: /dev/null
In-Reply-To: <1Zs27.138149$Mf5.37520045@news3.rdc1.on.home.com>
Message-ID: <Pine.SUN.3.91.1010710111741.18978L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 10 Jul 2001, Tom St Denis wrote:

> > d:/> echo hi > /dev/null
> > bash: /dev/null: Permission denied (EACCES)
> > ********************************************
> >
> > What is wrong with my /dev/null redirection?
> 
> In DOS there is no /dev/null so use nul

You will get the same result with nul (on W2K) if you use it from a
DJGPP program.

The above commands were typed at Bash's prompt, and Bash, being a
DJGPP program, supports /dev/null (by transparently converting it to
nul).

For more about this and other DJGPP features, type from the DOS
prompt:

   info know hidden features

and read there.

- Raw text -


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