| delorie.com/archives/browse.cgi | search |
| Date: | Thu, 14 Jun 2001 22:42:13 +0300 |
| From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
| Sender: | halo1 AT zahav DOT net DOT il |
| To: | "Mark E." <snowball3 AT bigfoot DOT com> |
| 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> <Pine DOT SUN DOT 3 DOT 91 DOT 1010614160710 DOT 6496A AT is> <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 |
> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 14 Jun 2001 14:05:21 -0400
>
> "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |