X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew Louie <louiea@gmail.com>
Subject:  Re: bash scripting problem
Date: Mon, 4 Dec 2006 13:37:19 +0000 (UTC)
Lines: 18
Message-ID:  <loom.20061204T143050-733@post.gmane.org>
References:  <4570BAB1.1050603@qualcomm.com> <003401c715b6$a874da50$020aa8c0@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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Gary R. Van Sickle <g.r.vansickle <at> 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/

