X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew Louie Subject: Re: bash scripting problem Date: Mon, 4 Dec 2006 13:37:19 +0000 (UTC) Lines: 18 Message-ID: References: <4570BAB1 DOT 1050603 AT qualcomm DOT com> <003401c715b6$a874da50$020aa8c0 AT DFW5RB41> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Gary R. Van Sickle worldnet.att.net> writes: > Do you have a link to such a script? I don't mean a proof-of-principle; I'm > sure a suitable example can be contrived. What I'm looking for is a shell > script "in the wild" that purposely has a carriage return embedded in it for > reasons other than ending a line of the script. > I'm not sure what you mean. The scripts that give me problems are packages (like the configure script for subversion 1.4x, before the cygwin release) and simple bash scripts i created in VIM 7 to just change directories and run perl scripts both had this dos line endings problem. all of my mounts are mounted binmode. Is there a utility like a hex editor for cygwin that can check files for the "\r" line endings? -- 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/