www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/30/02:50:00

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
From: "Dan Vasaru" <dvasaru AT broadpark DOT no>
To: <cygwin AT cygwin DOT com>
Subject: [packaging bug] Grep-2.5-1 on cygwin does not match $ on CRLF files, binmode
Date: Fri, 30 Aug 2002 08:48:56 +0200
Message-ID: <CHEDKHJJDLOCCOFLMGEAKEFMCLAA.dvasaru@broadpark.no>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <20020829203820.GB23580@redhat.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

[2nd try]
Hi,

I'm having problems  getting the prepackaged grep to match CRLF line
endings.
My setup is :

CYGWIN=ntsec tty binmode title glob
disk mounts in binmode
w2k
grep 2.5-1

grep is run by configure on the output of the VC compiler, which includes
CRLF lineendings. Problem is, the grep binary installed by setup *will not*
match CRLF line endings.

Mounting the particular directory in textmode solves the problem, but so
does recompiling the grep binary with a plain ./configure.

Perusing the grep source code gives the impression that it is designed to be
able to handle both LF and CRLF line endings, regardless of mount modes.

So there seems to be a problem with the way grep is built for distribution.
Maybe the CRLF support is removed by some configure flag.

I can help finding the problem, but I need to know how the grep package is
built (configure options).

Anyone please help ?

TIA, Dan.


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