delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/06/15:44:29

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <3.0.2.32.19990306154428.007a8230@mail.earthlink.net>
X-Sender: docdtv AT mail DOT earthlink DOT net (Unverified)
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.2 (32)
Date: Sat, 06 Mar 1999 15:44:28 -0500
To: gnu-win32 AT cygnus DOT com
From: R I Feigenblatt <docdtv AT earthlink DOT net>
Subject: Re: Cygwin Beta 20.1 - porting code to Linux
Cc: earnie_boyd AT yahoo DOT com
In-Reply-To: <19990306184535.11982.rocketmail@send101.yahoomail.com>
Mime-Version: 1.0

At 10:45 AM 3/6/99 -0800, you wrote:
>Does the script file contain \r\n line endings?
>It won't run on Linux if it does.

Many thanks Earnie. Stripping out the CR's with:
	tr -d '\015'
did the trick. The script now runs fine on Linux!

With the growth of Linux, I bet there will be a lot
of code moved between it and Cygwin both ways.

The Cygwin folks should make a note of this "gotcha".
Or did I forget to RTFM?

The Linux people should provide a less misleading
bash error message than "No such file or directory"!

Ron Feigenblatt


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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