X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=a1CDdOi+EqwhoDs4yi8wkuChqqPfxMQcRjTxmnzK9coqtVTOS9eZZ C7hYyT9rONYEboux8RIlDCFgZJ4O/216+subadwZ7kN6mQNGH2D0GXGTKZqH+Zzi tr3EEPxowE1yNkx28enwO8OfH6ZY8O6LQ8pM208HaPSwjrD7tdyuUo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=8IN76YJV7DvMKErMv3TwydL20d8=; b=S2WdO+ChOAvcve8DO8/hXXUwiuTG +UXXQj1c0QXvuWkkksx4ub03JtC4rP1jB7Xb532cnot7WCrF/ksEHIEUP41zWg+3 h6HIH5H6jdUmA8HnBR1qrl513mWy2FZEOP+S6bGFXILj8ZOpgGMpGdHHYF3U3DLZ I6CP/ZbJjlARdm0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 Date: Thu, 27 Jun 2013 17:15:57 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: autoreconf/gettext puzzle (was Re: sed match DOS end of line) Message-ID: <20130627151557.GD2378@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <01E9402441FFBB4BBEA0A82549A7D94A0C27C5 AT ORD2MBX02C DOT mex05 DOT mlsrvr DOT com> <20130627142405 DOT GA2378 AT calimero DOT vinschen DOT de> <20130627144952 DOT GB2378 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130627144952.GB2378@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) On Jun 27 16:49, Corinna Vinschen wrote: > On Jun 27 16:24, Corinna Vinschen wrote: > > On Jun 27 13:28, Paul Becker wrote: > > > > From: On Behalf Of Corinna Vinschen > > > > Sent: Thursday, June 27, 2013 6:49 AM > > > > Subject: [ANNOUNCEMENT] Updated: sed-4.2.2-2 > > > > > > > > I've just updated the Cygwin 32 and 64 bit version of sed to 4.2.2-2. > > > > > > Since this 'sed' change, I noticed that "$" does not match a dos formatted file end-of-line anymore. > > > > > > example: > > > echo "endofline^M" | sed "s/e$/X/" > > > > > > sed 4.2.1 returns > > > endoflinX > > > > > > sed 4.2.2 returns > > > endofline > > > > This seems to be an upstream change. The Cygwin 4.2.1 and 4.2.2 > > releases are build the same way. 4.2.1-2 (-3 on 64 bit) and 4.2.2-1 are > > both built from just the vanilla upstream sources. > > > > While 4.2.2-2 adds the latest upstream gnulib regex, it behaves > > otherwise identically to 4.2.2-1. And both 4.2.2 releases show the same > > behaviour in terms of CRLF line endings. > > > > But it's really puzzeling. There's no indication for this change > > in the sources. > > Ok, here's me, even more puzzled. FIW, the 4.2.2 packages have *not* > been built the same way as the 4.2.1 package. The difference is running > autoreconf (4.2.2) vs. not running autoreconf (4.2.1). > > If I build sed with the auto configury unchanged, I'm back to an sed > which handles the CR just as the old sed 4.2.1 package: > > $ sed --version | head -1 > sed (GNU sed) 4.2.2 > $ od -c eol > 0000000 e n d o f l i n e \r \n > 0000013 > $ sed 's/e$/X/' < eol > endoflinX > > However, 4.2.2-1 and 4.2.2-2 packages have been built running autoreconf > first, which, besides other things, updates the included gettext stuff > from version 0.17 to version 0.18.1. > > So I'm wondering if the latest gettext is the culprit here, but I'm not > fluent enough in the differences within gettext to see where the problem > is. > > Chuck? Yaakov? Do you have any explanation or, even better, a > workaround for this phenomenon, other than not running autoreconf? > > Anyway, for the time being, I'll upload 4.2.2-3 packages shortly which > has been build without running autoreconf, which will fix the CRLF vs. > LF problem. Easier said than done. This only fixed CRLF handling for the 64 bit version. The 32 bit version, built without autoreconf, still doesn't recognize the CR. Help? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple