From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68813 invoked by alias); 7 Sep 2016 17:41:51 -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 68804 invoked by uid 89); 7 Sep 2016 17:41:50 -0000 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 Received: from mail-lf0-f44.google.com (HELO mail-lf0-f44.google.com) (209.85.215.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 07 Sep 2016 17:41:49 +0000 Received: by mail-lf0-f44.google.com with SMTP id l131so3847759lfl.2 for ; Wed, 07 Sep 2016 10:41:49 -0700 (PDT) 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 Received: by 10.114.2.165 with HTTP; Wed, 7 Sep 2016 10:41:46 -0700 (PDT) In-Reply-To: <1cb1083f-f625-acf4-8d8b-78b04ec2b685@gmail.com> References: <330568691.2384551.1473201409220.ref@mail.yahoo.com> <330568691.2384551.1473201409220@mail.yahoo.com> <001601d208a8$ee01d0b0$ca057210$@rogers.com> <1238984601.338776.1473262363471@mail.yahoo.com> <1cb1083f-f625-acf4-8d8b-78b04ec2b685@gmail.com> From: Erik Soderquist Date: Wed, 07 Sep 2016 17:41:00 -0000 Message-ID: Subject: Re: Bash shell script issue To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00117.txt.bz2 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