delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/06/19:25:56

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=fP2
Fb/NSdnOZ/hj0nbuWo4pKvSkFM9dHsRgkVwq1YHCvWrWq4375Efc5xfm3I/XpqrA
SlCtPmjyjjUKuJhn98SodXlsgc50v66lAmnopEatD+IGJ0Wh+NuVTNub5nseBtCK
V9FH9nh/U7fsw+/vRPQB4a3Mdw20GODCCPYDdNs0=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=JhHdsML78
t8mTdYo8R2sJsbHQ94=; b=MDr30rxNRDfNwrLjqq0mzHbQD2f+7BdV6L1FtQ7qh
7LMtXvyxKpEY0UEUq1gGQKsh9lVIK+hOFDjL8eKqBXlGzC995nz15YetX8+0xhdW
Nwk8ArsTXeKMTLWruHaVV/ziCkHbp8WRSnGIm3oWODSubB28PV8Z5v/rFVrsUVgI
Rw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.1 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*c:alternative, H*M:san, complaint, H*MI:san
X-HELO: cdptpa-cmomta01.email.rr.com
To: cygwin AT cygwin DOT com
From: Steve Harlow <sharlow1 AT san DOT rr DOT com>
Subject: sed match DOS end of line
Message-ID: <3d6e4cb0-faa6-ee98-f441-c044c2fcc77f@san.rr.com>
Date: Sat, 6 Jan 2018 16:25:20 -0800
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
X-CMAE-Envelope: MS4wfMCzull1O3W0IYtnrEL9PHKiRRll+gx/fbEVor2il1c98A+QMLJX8w8wydwycFUndZyB+we/tqmpLZkfQy+hHhfUGebysubjjxIO+FOheBR/p6c2dyUI 4Fz7eg537uc34Mlri+MfE0ueFAfTt7KQuRQY54PBTPrixynqR+9HqG9v

Greetings,

With 'sed' (GNU sed) version 4.4 I am seeing that '$' doesn't match end 
of line with windows type text files.
It looks like something like this happened and was fixed on version 4.2.2.
https://cygwin.com/ml/cygwin/2013-06/msg00685.html

Here is the original complaint at the time.  I'm seeing the same thing 
with version 4.4.
https://cygwin.com/ml/cygwin/2013-06/msg00673.html

Do I not have some environment variable set correctly? Is this a bug in sed?

I see that I can install the older version, 4.2.2.3.  Looks like that 
might take a step backwards on some libraries too. compiler-rt(5.0.1-1), 
libc++devel (5.0.1-1), libc++1 (5.0.1-1), etc.  Is that the right way to go?

Regards,
Steve


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

- Raw text -


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