X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Rolf Campbell Subject: Re: Bash 3.1.17(8) CR/LF problem Date: Thu, 28 Sep 2006 14:43:16 -0400 Lines: 20 Message-ID: References: <860934040609271346ue482106q9af69c06d6ee000f AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 3.0a1 (Windows/20060927) In-Reply-To: <860934040609271346ue482106q9af69c06d6ee000f@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 Malcolm Nixon wrote: >>> * Some translate files to a "Local" format (CR/LF on Windows). >> FCOL, what on earth does an rcs think it's playing at, tampering with >> your >> data? Any rcs that doesn't give you back exactly what you put into it >> is just >> plain buggy. Nobody asked for a "automatically mangle my data whether >> I want >> you to or not" feature. > This is a Perforce 'feature' if you wish to call it that. Perforce > will translate > files you have specified as 'Text' to whatever 'Text' means on the local > system > - LF on Unixes and CR/LF on Windows. One potential workaround would be to > declare the script files as binary files so they aren't touched, but > then you loose > the ability to diff. You can disable that 'feature' in your client settings. I'm running bash scripts checked into a perforce repository in the new bash just fine with that feature disabled. -- 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/