delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/13/10:53:57

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=VY5DUKMDci8oi5ad
XKHupQiRwztNhywtZTKmjiAAGDSK97eTBlrE5AALafEEvcf+/IHrf6w1jwVZEGv5
aqFyQ4Qw8XHXx9Dz5Oyg2LtZS9jzjcHNit27mckECD7QkzC2pq02Ii6o4KU6UwRq
53S5PKs1scdeweaJXkEmIdMU0dU=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=eOSbUzGxaN19rNLxomDNLD
D9TRg=; b=FeS6lPYyPuITOJREhoy5wsUkOEwnpsBmldZJHWIdE5GiHYBgbrkX2O
uQaVQD/qNzRQnexUnMAisEnBvQUSuQR0Jo/1cokorbW1WpJO0wykbu4mZ9Q/Mpqj
CXtgIkz0rkfLAlzmsAO+9iz1ap7SAnsITDLW63Q6Bry1ViYMxtCGg=
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.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
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)
Subject: Re: [ANNOUNCEMENT] Updated [test]: sed-4.4-1
To: cygwin AT cygwin DOT com
References: <58a07b9b DOT 085fca0a DOT 8af3f DOT 103c AT mx DOT google DOT com> <0D835E9B9CD07F40A48423F80D3B5A704BBE5793 AT USA7109MB022 DOT na DOT xerox DOT net>
From: cyg Simple <cygsimple AT gmail DOT com>
Message-ID: <468737ff-2ca2-f65a-89a1-a4b166567f54@gmail.com>
Date: Mon, 13 Feb 2017 10:53:30 -0500
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>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019