This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: Cygwin Beta 20.1 - porting code to Linux
- To: gnu-win32@cygnus.com
- Subject: Re: Cygwin Beta 20.1 - porting code to Linux
- From: R I Feigenblatt <docdtv@earthlink.net>
- Date: Sat, 06 Mar 1999 15:44:28 -0500
- Cc: earnie_boyd@yahoo.com
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- In-Reply-To: <19990306184535.11982.rocketmail@send101.yahoomail.com>
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-owner@sourceware.cygnus.com
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@sourceware.cygnus.com