delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew Louie <louiea AT gmail DOT 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 DOT 1050603 AT qualcomm DOT com> <003401c715b6$a874da50$020aa8c0 AT DFW5RB41> |
Mime-Version: | 1.0 |
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: | <cygwin.cygwin.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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |