| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
| X-Authentication-Warning: | erasmus.inf.ed.ac.uk: ht set sender to ht AT inf DOT ed DOT ac DOT uk using -f |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: echo vs. ls race condition? |
| References: | <NGBBLLIAMFLGJEOAJCCEGEACDLAA DOT garbage_collector AT telia DOT com> |
| From: | ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson) |
| Date: | Tue, 25 May 2004 09:57:12 +0100 |
| In-Reply-To: | <NGBBLLIAMFLGJEOAJCCEGEACDLAA.garbage_collector@telia.com> (Hannu E. K. Nevalainen's message of "Mon, 24 May 2004 22:27:02 +0200") |
| Message-ID: | <f5blljgzxxz.fsf@erasmus.inf.ed.ac.uk> |
| User-Agent: | Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) |
| MIME-Version: | 1.0 |
"Hannu E K Nevalainen" <garbage_collector AT telia DOT com> writes:
>> From: Henry S. Thompson
>> Sent: Monday, May 24, 2004 6:32 PM
>
>> Fred Kulack <kulack AT we DOT bigblue DOT xxx> writes:
>>
>> >> Short summary: a loop with echo and ls does not produce well-ordered
>> >> output
>> >
<snip/>
> FWIW; I can reproduce it. It seems to me that it is some kind of problem
> with bash's use of subshells in loops (synchronizing output). I have no
> knowledge of the internals here, so bear with me.
That sounds plausible, but I too am incompetent to delve much
deeper. . . There's the old issue of process id re-use, perhaps?
Thanks for trying it, and simplifying.
ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht AT inf DOT ed DOT ac DOT uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |