From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125589 invoked by alias); 13 Feb 2017 15:53:40 -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 125165 invoked by uid 89); 13 Feb 2017 15:53:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Kenneth, kenneth, conduent, Conduent X-HELO: mail-it0-f65.google.com Received: from mail-it0-f65.google.com (HELO mail-it0-f65.google.com) (209.85.214.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Feb 2017 15:53:32 +0000 Received: by mail-it0-f65.google.com with SMTP id f200so14205207itf.3 for ; Mon, 13 Feb 2017 07:53:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=yNizoEpHvz3irMRQF+7i4x2TqEB7lWPd8572HeQhg/8=; b=gtAf9o99CFg9LoctaX3eLXfuvCGh0TTkNHMyOAYPsChZZkZvERIuGRVqKHh+ENAbca +TioOrOoT2fVAdglfTBY1joFjKzcRHLSr9x4rvSo3h0fDnpvmJpuhU44sg06OvHN6Ake 6CTbmWOsse7sPSQPDjY/dXt+gfVDL7883LUXsq8sX2GZyY4u9AvNt+tbVX1twwgJ+oTy Njhb5RLNWMe9kPTI44cr0rW9MGOYyolMA0YTOdY+uM5yMk4NKJYXdS9P6ItgiYMB2+LZ HWjILvy92wvF9atuUamRModgMtb4BLt7mCfg/kGbIP216lzrqu41oGbJGnEV+rdyWTSk OCww== X-Gm-Message-State: AMke39nW6yYP7yNToUGeV1JvtI6OmMxFzy/U28XiFbevovqUrAVG1IFX6IVlo9cbkjx7SA== X-Received: by 10.107.134.36 with SMTP id i36mr21647785iod.168.1487001211251; Mon, 13 Feb 2017 07:53:31 -0800 (PST) Received: from [192.168.0.6] (d27-96-48-76.nap.wideopenwest.com. [96.27.76.48]) by smtp.gmail.com with ESMTPSA id o189sm1889668ith.30.2017.02.13.07.53.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Feb 2017 07:53:30 -0800 (PST) Subject: Re: [ANNOUNCEMENT] Updated [test]: sed-4.4-1 To: cygwin@cygwin.com References: <58a07b9b.085fca0a.8af3f.103c@mx.google.com> <0D835E9B9CD07F40A48423F80D3B5A704BBE5793@USA7109MB022.na.xerox.net> From: cyg Simple Message-ID: <468737ff-2ca2-f65a-89a1-a4b166567f54@gmail.com> Date: Mon, 13 Feb 2017 15:53:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BBE5793@USA7109MB022.na.xerox.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00170.txt.bz2 On 2/13/2017 9:14 AM, Nellis, Kenneth (Conduent) wrote: > 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.) > All pipe handles should be binary or at least an option to make it that way. The file handles should be bound to the mounted mode. -- cyg Simple -- 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