Date: Thu, 14 Jun 2001 22:42:13 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Mark E." Message-Id: <9743-Thu14Jun2001224213+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <7suhitsd27aqps39ahmnhkvjntsnl87bpr@4ax.com> (snowball3 AT bigfoot DOT com) Subject: Re: Gnu compiler for Perl References: <20010614145506 DOT EFE4 DOT H DOT M DOT BRAND AT hccnet DOT nl> <20010614160042 DOT EFE9 DOT H DOT M DOT BRAND AT hccnet DOT nl> <2110-Thu14Jun2001190959+0300-eliz AT is DOT elta DOT co DOT il> <7suhitsd27aqps39ahmnhkvjntsnl87bpr AT 4ax DOT com> 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 Precedence: bulk > From: "Mark E." > Newsgroups: comp.os.msdos.djgpp > Date: Thu, 14 Jun 2001 14:05:21 -0400 > > "Eli Zaretskii" wrote: > > >Mark, could you please see what does Bash do with "> /dev/null" that > >it doesn't do with ">> /dev/null"? > > This program simulates (if I did it right) what Bash does with 'echo x > /dev/null' > and 'echo x >> /dev/null'. Thanks. Based on this source, it looks like the only difference is that ">" cause the library to issue this call: _write(fd, 0, 0); (this should truncate the file). Maybe W2K doesn't like this on devices? This should be easy to test in a short program.