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://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: | <004701c35cc2$c5efe530$2564a8c0@blackmagic> |
From: | "sandeep" <sandeep AT codito DOT com> |
To: | "Andrew Markebo" <andrew DOT markebo AT comhem DOT se> |
Cc: | <cygwin AT cygwin DOT com> |
References: | <001c01c35cbe$cbbc9020$2564a8c0 AT blackmagic> <m3isp9swcn DOT fsf AT flognat DOT dyndns DOT org> <003401c35cc0$8bc781d0$2564a8c0 AT blackmagic> |
Subject: | Re: (latest install from site) cygwin1.dll 1.3.22-dontuse-21 --bash buggy behaviours under windows 2000 |
Date: | Thu, 7 Aug 2003 14:33:30 +0530 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6700 |
> * All the mentioned problems are observed in one single script that's around > 1500 lines A small correction to my previous mail, problem [1] is observed on bash prompt too. I was trying to check for a situation that is happening in script where output-redirection is involved. The original snippet that led me to this experiment is as follows --- echo -n "Status : " >> logfile cat results >> logfile echo "" >> logfile echo "----------------" >> logfile results never contain a new line, but a simple string consisting of english alphabets (dumped into this file by some tool before). Expected output in logfile for this sequence is of the form -- Status : XXXXXXX ----------------------- Most of the times the output is as expected, but sometimes it turns out to be like Status : XXXXXXX----------------------- > > | [1] for i in list-of-file-name > > | do > > | echo ............. $i ................ > > | cat $i > > | done > > | > > | Sometimes the order of echoed statement and corresponding file content gets > > | changed and I end up getting output like > > | > > | .............. file20 ...................... > > | .............. file21 ...................... > > | .............. file22 ...................... > > | contents of file20 > > | contents of file21 > > | contents of file22 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003 -- 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 |