delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/04/05:52:38

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:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=vc6y44kiHK+9B7DFoTy/AXkPDr6aX+H8X0s7Yf/Kkd1
e6AY+zEHwliPjY+/DEzPKFkZAO75QpZepD7X6KDReoqFTU6OZJjSEju0qKOkqR6o
6y0Ilvzcf1ggFbnz9xw3EmSL4zGlffJPHtOocORA2QIm8Wt/hH6XnvLq7hDMljgo
=
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:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
s=default; bh=kUsfUlLFqCytbZmHCCZayO6JIcw=; b=yYYkskY8dh7OFZpDe
Qj3HONxRXtrdvhOAc8gZ7iRcGkHUaxa79Q+RUbvseoEvU3/fHknQ46RlL2vuG2oL
DiSKVmhRYJdWIdONvrZtjIf5Gm5A5fSrUgvZAFEY1ILJFWsstf9cD1bxKwl4l7wX
BQkSBqPCozMY0Rs6lkahb+U58o=
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=2.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_PSBL,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail3.ks.pochta.ru
Date: Thu, 4 Jun 2015 12:51:54 +0300
From: Mikhail Usenko <mikeus AT nm DOT ru>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: bash-4.3.39-2
Message-Id: <20150604125154.712cbb6af2fc96c5a2306494@nm.ru>
In-Reply-To: <announce.556EF85C.3000809@redhat.com>
References: <announce DOT 556EF85C DOT 3000809 AT redhat DOT com>
Mime-Version: 1.0
X-RSpam-Score: 80
X-RSpam-Report: This message is probably spam.

Eric Blake (cygwin) <...> wrote:
> 4.3.39-2

Hello, Eric.
It has the same issue as in the previous version:
eating one \r from the odd numbered chains of the \r.

bash-4.3.39-2
-------------
$ echo -ne "\r\n" | { read t; echo "$t"; } | od -tx1
0000000 0a
0000001
$ echo -ne "\r\r\n" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0a
0000003
$ echo -ne "\r\r\r\n" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0a
0000003
$ echo -ne "\r\r\r\r\n" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0d 0d 0a
0000005
$ echo -ne "\r\r\r\r\r\n" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0d 0d 0a
0000005

$ echo -ne "\r\r\r\r" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0d 0d 0a
0000005
$ echo -ne "\r\r\r\r\r" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0d 0d 0a
0000005


bash-4.3.33-1
-------------
$ echo -ne "\r\n" | { read t; echo "$t"; } | od -tx1
0000000 0a
0000001
$ echo -ne "\r\r\n" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0a
0000003
$ echo -ne "\r\r\r\n" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0a
0000003
$ echo -ne "\r\r\r\r\n" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0d 0d 0a
0000005
$ echo -ne "\r\r\r\r\r\n" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0d 0d 0a
0000005

$ echo -ne "\r\r\r\r" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0d 0d 0a
0000005
$ echo -ne "\r\r\r\r\r" | { read t; echo "$t"; } | od -tx1
0000000 0d 0d 0d 0d 0a
0000005


-- 


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