X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=xKk1Yju
	itc1LZszhNmTTq9Y1IzQfLd4y4EOQDgJL2KTulv4z941SiPAXLmO1Z3WQhg74Lwv
	X/DrLlJdzFspXXotoy7Zr3J+Gh9KHh73v+fAcySVpD1lBUGGdc/d5zX6Y4JwZCdC
	iSOYqFLBFvS3upL8J+2A5kOzmtUTd3FARIu4=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=OJlH8Kwzutaw3
	8HhJSwByTuUvkI=; b=ZJu5I4ahNrEZnompConSyZPHuTTQMpgmWn96yt5EtHRKE
	adQ0p9GQnvIVli5WnDbdwo2U/i3a5aP2EJutMMXMNvvCjBhqQCwhKkvjOSC9LTYI
	CJwiyUNH7V+nFTo2O8Eq6C/Y+7mDLnYIRUubxUN8vHCncH56VVFbUkEnYMjucI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=termination, crlf, CRLF, H*f:sk:c0b897b
X-HELO: mail-lf0-f44.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from         :date:message-id:subject:to;        bh=aqUoXTMGSHU9bnUYGSeriQ9J2SjRyRdDYrXJLoMDWuM=;        b=DRliKlx5FQIhapjXq67vtxibGU50owGqbMrko2fGxeEBBehWF8tgNwB6BXchyZcsG7         KavyRQHZg1xjBiocYI0z9Vac1xf5880WQ2eMMlHEibASetR/rg75xDVS0Zub4NOhQRcN         HBwaoF0HNqr+7+grS3vFkNHUH/lx+S2eDQT02zzJB3yPlj1x/YFE6mJPltE87egwgEVj         H2Fuu4BjE7VBMBC+Jeuz89oiFQMYwwcyrMhUUQiC/WXP7tf+Mr8N2VrYqfnbBk5SOWEB         ByxFZnQVBty5oFCNsCJxPGLHwo07zTeDOT8K5HpJmkExzYZ0fALfdRr8db/PmYFa2Hm0         yHUQ==
X-Gm-Message-State: AE9vXwPn0Zm2cbL/KDQXt7uSpi/etqsiCULtYh5+qIaPcDIlmDSpj8bCjxonf/m9gKO5nxFuXHr/ciMbitVoMg==
X-Received: by 10.25.89.70 with SMTP id n67mr333017lfb.163.1473270107219; Wed, 07 Sep 2016 10:41:47 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <1cb1083f-f625-acf4-8d8b-78b04ec2b685@gmail.com>
References: <330568691.2384551.1473201409220.ref@mail.yahoo.com> <330568691.2384551.1473201409220@mail.yahoo.com> <c0b897be-d3cf-f3b9-cf5b-0024a1d395e5@redhat.com> <001601d208a8$ee01d0b0$ca057210$@rogers.com> <1238984601.338776.1473262363471@mail.yahoo.com> <1cb1083f-f625-acf4-8d8b-78b04ec2b685@gmail.com>
From: Erik Soderquist <ErikSoderquist@gmail.com>
Date: Wed, 7 Sep 2016 13:41:46 -0400
Message-ID: <CACoZoo1v9RQtmK+ebHPtjRucKFhHN=_4R-UqyHq=b43YQBWWpA@mail.gmail.com>
Subject: Re: Bash shell script issue
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On Wed, Sep 7, 2016 at 11:48 AM, Marco Atzeri wrote:
>> I have been using notepad++ for my windows editor.
>
> \r = Carriage Return
> \n = New Line / Line Feed
>
> so Notepad++ produced a file with CRLF as line termination and you need
> to convert it with d2u.

Notepad++ can also do unix line termination, and I have that set as my
default; however, if the file has mixed terminations, I find I have to
manually convert to windows line termination and then reconvert to
unix line termination to fully correct this (very weird) occurrence.

-- Erik

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

