delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/08/17:25:52

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Doug <dmly DOT usa AT gmail DOT com>
Subject: Re: CASE error in script file
Date: Wed, 8 Nov 2006 22:24:18 +0000 (UTC)
Lines: 20
Message-ID: <loom.20061108T232305-420@post.gmane.org>
References: <loom DOT 20061108T225533-24 AT post DOT gmane DOT org> <31b7d2790611081417u467a3ecdx4468fec7797c0cb1 AT mail DOT gmail DOT com>
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-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

DePriest, Jason R. <jrdepriest <at> gmail.com> writes:

> 
> I am too lazy to search the (recent) archives about the bash
> controversy surrounding line endings, but that is your problem.
> 
> Run d2u on your script, and it should work fine.
> 
> Also, what editor did you use to create the script?  If it was
> notepad, please slap yourself in the forehead and exclaim, "d'oh!"
> 
> -Jason
> 


No, I use gVim 7.0 to edit the file.
So do you think the problem is related to the damned windows '\r' character?
Thanks buddy

And btw, d2u solves the issue!!!


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019