www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/10/18:53:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <loom.20100611T000200-32@post.gmane.org>
References: <OFF145E76E DOT EB43EC60-ON8525773C DOT 005639A6-8525773C DOT 005650D6 AT lnotes-gw DOT ent DOT nwie DOT net> <AANLkTil0pNuO4a9n2Ln5H3Q0cJRdQER7NlgSTg2a9EN2 AT mail DOT gmail DOT com> <OFCB72527D DOT F8E42EE2-ON8525773C DOT 0058E3E2-8525773C DOT 0059F451 AT lnotes-gw DOT ent DOT nwie DOT net> <1276042636 DOT 1651 DOT 9 DOT camel AT erebor> <AANLkTil6fa2-stL9f3hd-Dg-X6FjzVKLeG56lPoI7OYp AT mail DOT gmail DOT com> <20100609044034 DOT GB9305 AT ednor DOT casa DOT cgf DOT cx> <AANLkTikJ9U3U49HlT9Ldm6aueX3z22gN_6L95P-E2Pwz AT mail DOT gmail DOT com> <AANLkTinrgelZ5PcMhWjzehe8sa-cjkGoiFI8WpLGNh84 AT mail DOT gmail DOT com> <AANLkTikzCzig2SyG_J1dtGPDvDVCLYZyZM_TBj9fxNgm AT mail DOT gmail DOT com> <AANLkTilSrEgdrVMMMZQLZrnU1wKi-WrQt8H4_JX3B-w7 AT mail DOT gmail DOT com> <4C0FA1CA DOT 4070000 AT redhat DOT com> <loom DOT 20100611T000200-32 AT post DOT gmane DOT org>
Date: Fri, 11 Jun 2010 10:53:06 +1200
Message-ID: <AANLkTinlFxxDUyYY7vTO_RlosNcQ67Mq4rSGF_EGIAzz@mail.gmail.com>
Subject: Re: 'cp' utility bug when &lt;dest-name&gt;.exe file exist.
From: David Antliff <david DOT antliff AT gmail DOT com>
To: cygwin AT cygwin DOT com
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

On Fri, Jun 11, 2010 at 10:26, Eric Backus wrote:
> As a side note, this same kind of reasoning is why I think Cygwin bash should
> default the igncr option to on.

I agree - using git with core.autocrlf=true (a controversial setting
in itself, but one that you're stuck with if you choose to use it)
without SHELLOPTS=igncr results in bash scripts being checked out in
DOS-style, which bash can't run properly. But it's not too hard to set
this in Cygwin.bat before bash starts, once you know what the problem
is.

set SHELLOPTS=igncr

-- David.

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