From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92308 invoked by alias); 11 Sep 2015 12:49:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 92297 invoked by uid 89); 11 Sep 2015 12:49:02 -0000 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 Received: from usa7109mr004.acs-inc.com (HELO USA7109MR004.ACS-INC.COM) (13.28.230.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 11 Sep 2015 12:49:02 +0000 Received: from usa7109ht003.na.xerox.net ([13.41.230.29]) by USA7109MR004.ACS-INC.COM with ESMTP/TLS/AES128-SHA; 11 Sep 2015 07:49:00 -0500 Received: from USA7109MB022.na.xerox.net ([169.254.6.221]) by USA7109HT003.na.xerox.net ([13.41.230.29]) with mapi id 14.03.0224.002; Fri, 11 Sep 2015 07:49:00 -0500 From: "Nellis, Kenneth" To: "cygwin@cygwin.com" Subject: RE: [ANNOUNCEMENT] Updated: bash-4.3.42-3 Date: Fri, 11 Sep 2015 12:49:00 -0000 Message-ID: <0D835E9B9CD07F40A48423F80D3B5A702E91BBF5@USA7109MB022.na.xerox.net> References: <20150911141729.0318b690929d91edcee250bd@inbox.ru> In-Reply-To: <20150911141729.0318b690929d91edcee250bd@inbox.ru> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg00188.txt.bz2 From: Mikhail Usenko > 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