delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/27/18:43:29

X-Spam-Check-By: sourceware.org
Message-ID: <20060727224315.180.qmail@web51106.mail.yahoo.com>
Date: Thu, 27 Jul 2006 15:43:15 -0700 (PDT)
From: Saurabh Tendulkar <gillette206 AT yahoo DOT com>
Subject: NT-5.1 1.5.20(0.156/4/2) pipe hangs, dos files
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
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

Hi,

I'm not sure this is the correct place for bug reporting but I couldnt find
anything else on the website, so here goes.

For the sake of argument, there are two "fileformat=dos" files A and B, each
having n lines. A has the single character 'a' (other than linebreaks) on each
line, B has the single character 'b' on each line.

Now for sufficiently large values of n (starts around 2500 but 10000 almost
always has this behaviour), the following command simply hangs:
paste A B | awk '{print NF}'. 

I'm thinking the problem is pipe coz the commands work fine individually (paste
is GNU coreutils 5.97, awk is GNU Awk 3.1.5). In case the output gets written
out, it is 512 lines long, which is probably some buffer size somewhere.

We have an older cygwin on another machine: CYGWIN_NT-5.1 1.5.6(0.108/3/2),
paste (textutils) 2.0.21, Gnu Awk 3.1.3, which runs absolutely fine.

ulimit -p is 8 on both machines.

Saurabh

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019