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=vrKhv15ScPonFtMmPFZHYR8QMEXVY KjdVZFadtvy/428JZOLgsTDRmEoQOPRNM55RpktbsYX3X5aZswyeXsdjawZ9e9bk pFwFYq7aH4dHWa1D36WF4PC9d7n7zqNCwHBJDP7iOUhM8Z633Rii6z8SjKMy8F8b 7/saJ4Zt3+3O9E= 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=FJU6qtNmT5Zv/hoqwgfb+WosCjs=; b=L8Z FLNYk8exWL1ggG/sUFB4V6C4nVwREdqKaMcfEVSzJERHOiZWHJRv9vPg2vOoPLiw hHitTstW71kKPdGYwqEYdlm61VBGX/fnJm/Gtbqb9jmaBUyxLVEOqrHDt7ocZ09o sfKPLQEo5VWFftt7zwj7GrwZ1rWLrvA/qln/f/jQ= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_50,MIME_BASE64_BLANKS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:14.03.0294.000, H*r:14.03.0294.000, H*RU:14.03.0294.000, btw X-HELO: USA7109MR007.ACS-INC.COM From: "Nellis, Kenneth (Conduent)" To: "cygwin AT cygwin DOT com" Subject: RE: [ANNOUNCEMENT] Updated [test]: sed-4.4-1 Date: Mon, 13 Feb 2017 14:14:45 +0000 Message-ID: <0D835E9B9CD07F40A48423F80D3B5A704BBE5793@USA7109MB022.na.xerox.net> References: <58a07b9b DOT 085fca0a DOT 8af3f DOT 103c AT mx DOT google DOT com> In-Reply-To: <58a07b9b.085fca0a.8af3f.103c@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v1DEG4FK014098 From: Steven Penny > Perhaps I am missing something, but cant all that be said about Sed too? I > just cant see a situation where we are justified changing one and not the > other. They should either both strip carriage returns or neither. How about grep? $ printf 'hello\r\nworld\r\n' | grep hello | od -An -tcx1 h e l l o \n 68 65 6c 6c 6f 0a $ Are there others? (BTW, I support the change.) --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