delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/13/20:05:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT
X-Spam-Check-By: sourceware.org
Date: Tue, 14 Feb 2012 04:56:15 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <905541703.20120214045615@mtu-net.ru>
To: "Nellis, Kenneth" <Kenneth DOT Nellis AT acs-inc DOT com>, cygwin AT cygwin DOT com
Subject: Re: sed strips CRs
In-Reply-To: <2BF01EB27B56CC478AD6E5A0A28931F203F5655A@A1DAL1SWPES19MB.ams.acs-inc.net>
References: <CA+sc5m=C2=49c6grcLbwYz6rQNWux43m_oY9hvQGaGrh_guk_Q AT mail DOT gmail DOT com> <2BF01EB27B56CC478AD6E5A0A28931F203F5655A AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Greetings, Nellis, Kenneth!

> The standard response to issues dealing with CRLF files is to point the
> user to dos2unix and text mode mounts. This should be adequate without
> the hidden behavior of sed/grep/awk and probably others.

While your reasoning is sound, I prefer them to behave the way they are for my
own goals.
I can't possible alter between text and binary mounts, or use d2u on and off
in an attempt to produce consistent and predictable end results.


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 14.02.2012, <04:53>

Sorry for my terrible english...


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