delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/11/08:49:21

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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=iGmbzch8ctHbBZ6OvlswWfEFXpWjA
KNXH0zEBOq9ywRVU0cykO+ODTqdyAIY2T9pwoI7UGyi4ywOHJz0qXrWzrLdp3HbA
oI2F62CgVqijDYauv2ytsRuw2kuzhr3LnKd7V6baWfJ/m3EWiuGv+RUjy8DZjE9h
7rtK0oIiBUAYJU=
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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=3aZPKEyPhXFxpi9HAYqqKDJm0ls=; b=pFG
5pyfTq2Yd9PylHXr0HAZIk61yKKSZjlD5ZvHDSPQxcZP1MzMAsB4VcJw+8jf/+VR
tIl7Jt3Dz7EZqtCREcJY+l+o4h3lQ4p2EB3LtcDBs+XLLmlECOVzCwVYs9B/OA5+
5dhegMEkJdKLjpxyLqJjrwA7DigkIx4dUUF0SCuM=
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=1.5 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: USA7109MR004.ACS-INC.COM
From: "Nellis, Kenneth" <Kenneth DOT Nellis AT xerox DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: [ANNOUNCEMENT] Updated: bash-4.3.42-3
Date: Fri, 11 Sep 2015 12:48:59 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A702E91BBF5@USA7109MB022.na.xerox.net>
References: <20150911141729 DOT 0318b690929d91edcee250bd AT inbox DOT ru>
In-Reply-To: <20150911141729.0318b690929d91edcee250bd@inbox.ru>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8BCnEYc013611

From: Mikhail Usenko
<snip>
> There is also the similar problem found accidentally just now with sed in
> pipelines:
> $ echo -ne "\r\n" | sed '' | od -A n -tx1  # should be: 0d 0a
>  0a
> $ echo -ne "\r\r\n" | sed '' | od -A n -tx1  # should be: 0d 0d 0a
>  0d 0a

FWIW, back in 2012 there was a discussion on this behavior of sed.
Apparently strong enough arguments were made to retain this behavior.

http://sourceware.org/ml/cygwin/2012-02/msg00301.html

--Ken Nellis

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