| www.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 |
| Message-ID: | <000501c4d174$81c688a0$768010ac@wksh118> |
| From: | "Fekete Krisztian" <fkr0 AT mailbox DOT hu> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | Sequential writes to stdout is messed up (Bash only?) |
| Date: | Tue, 23 Nov 2004 16:52:57 +0100 |
| MIME-Version: | 1.0 |
Hi, The problem can be demonstrated by executing the following in bash: printf 1 > 1; while true; do cat 1; echo 2; done Expected result would be an endless stream of 12-s: 12 12 ... The real result is something different - see below. Executing ksh -c 'printf 1 > 1; while true; do cat 1; echo 2; done' gives the expected stream (pdksh). BR, Krisztian Fekete PS.: My cygwin is up to date, running on Windows 2000. cygwin/bash result: 12 12 12 12 12 12 2 112 12 12 2 2 12 112 12 2 1112 2 2 1112 12 2 2 12 12 1112 ... -- 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 |