X-Spam-Check-By: sourceware.org
Message-ID: <4570BAB1.1050603@qualcomm.com>
Date: Fri, 01 Dec 2006 15:28:49 -0800
From: Rob Walker <rwalker@qualcomm.com>
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bash scripting problem
References: <loom.20061201T223332-463@post.gmane.org> <4570A54E.4090204@cygwin.com> <loom.20061201T231611-0@post.gmane.org> <4570AAF5.2080404@byu.net>
In-Reply-To: <4570AAF5.2080404@byu.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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

Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> According to Andrew Louie on 12/1/2006 3:17 PM:
>   
>>> You have DOS line endings in these files.  Use 'd2u' to remove them.
>>>
>>>       
>> Thanks! I would have never known that, 
>>
>> now, can i run d2u on every file in my installation?
>>     
>
> No, only run it on text files (it corrupts binary files, such as *.exe).
>   
d2u may also corrupt "text" files that need to have CR in them.  This 
includes bash scripts that need to parse or output CR.

-Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

