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: References: <1276042636 DOT 1651 DOT 9 DOT camel AT erebor> <20100609044034 DOT GB9305 AT ednor DOT casa DOT cgf DOT cx> <4C0FA1CA DOT 4070000 AT redhat DOT com> Date: Fri, 11 Jun 2010 10:53:06 +1200 Message-ID: Subject: Re: 'cp' utility bug when <dest-name>.exe file exist. From: David Antliff To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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