delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/02/11:32:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B408052.EC1121A0@cowaro.com>
Date: Mon, 02 Jul 2001 10:08:19 -0400
From: "Ronald W. Cook" <rwc AT cowaro DOT com>
X-Mailer: Mozilla 4.77 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: rwc AT cowaro DOT com
Subject: Re: 1.3.2, 1.1.8: Pipelines losing data? (Windows 2000)

Russell,

Following your instructions, as well as using grep by itself, I was
not able to detect any malfunctions in ten trials each.  In every
case, two lines with cygwin at the end were proffered.

I am using ME on an hp5195 current cygwin.

Regards,
Ron Cook
cowaro.com


----- Original Message -----
From: "russell christian sears" <sears AT cis DOT ohio-state DOT edu>
To: <cygwin AT cygwin DOT com>
Sent: Monday, July 02, 2001 9:21 AM
Subject: 1.3.2, 1.1.8: Pipelines losing data? (Windows 2000)


> I have found a problem using less and grep to search a file.  The file is
> available at: http://www.cis.ohio-state.edu/~sears/file.txt (It is over 1
> megabyte, so I did not include it in this message.)
>
> I am using bash, and a complete, current installation of cygwin.
>
> When I run the command `less file.txt | grep cygwin` it sometimes fails to
> find a match in the file, even though the file does contain the string.
>
> It seems to be sporadic, but I have been able to reproduce the problem on
> three machines, each of which ran at about 700mhz.  Other commands that
> seem to work as expected follow:
>
> less file.txt | cat | grep cygwin
> cat file.txt | grep cygwin
> grep cygwin file.txt
>
> If you have difficulty reproducing the bug, try running the command
> multiple times (eg: by repeating <up-arrow>, <enter> rapidly).  Some
> installations will only rarely have a problem, others will rarely yield
> the correct result.  On systems that usually produce the correct result,
> re-running the command rapidly seems to increase the likelihood of the
> problem
> ocurring.
>
> Also, the string "cygwin" always appears at the end of a line in the file,
> which may be related to this bug.
>
> I have tried both version 1.1.8 and the current cygwin distribution.
> (1.3.2)  Both seem to suffer from this problem.
>
> As a control, I've checked this against a Linux system, and the bug did
> not exist there.
>
> Below, the mount mode is listed as textmode.  The bug exists under binmode
> as well.
>
> Here is the output of cygcheck -s -v -r > cygcheck.out:
>
> Cygnus Win95/NT Con


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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