delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/01/18:35:17

X-Spam-Check-By: sourceware.org
Message-ID: <4570BC0E.5070901@byu.net>
Date: Fri, 01 Dec 2006 16:34:38 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bash scripting problem
References: <loom DOT 20061201T223332-463 AT post DOT gmane DOT org> <4570A54E DOT 4090204 AT cygwin DOT com> <loom DOT 20061201T231611-0 AT post DOT gmane DOT org> <4570AAF5 DOT 2080404 AT byu DOT net> <loom DOT 20061201T232715-415 AT post DOT gmane DOT org>
In-Reply-To: <loom.20061201T232715-415@post.gmane.org>
X-IsSubscribed: yes
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Andrew Louie on 12/1/2006 3:29 PM:
>> Eric Blake <ebb9 <at> byu.net> writes:
>> No, only run it on text files (it corrupts binary files, such as *.exe).
>>
> 
> Okay, I just re-read that message you originally posted, and there are some
> vauge (to me at least) instructions on how to configure bash to auto d2u all
> scripts that are run. I will try to make it happen!

Those instructions don't automatically run d2u.  Rather, they tell bash to
behave differently than it does on Linux by ignoring the \r.  For the best
performance, leave shell scripts on binary mount points, and run them
through d2u if needed; the ignoring \r features are crutches for people
who can't use the fastest behavior for whatever other reason.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFcLwO84KuGfSFAYARAunEAJ9Bsc+URXJ1wT0IAXW3YI4E99hHwwCgzPBm
mt6/fqmRhPAKzFYumcIPP4o=
=Jp8f
-----END PGP SIGNATURE-----

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

- Raw text -


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