Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: Sequential writes to stdout is messed up (Bash only?) Date: Tue, 23 Nov 2004 16:52:57 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit 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/