Re: Fwd: Problems with line endings for shell scripts

2010-02-10 Thread Jurgen Defurne
>On 2/9/2010 2:41 AM, Jurgen Defurne wrote: >> To be more complete : >> >> 1) These are the mount points on my portable : >> >> C:/Documents and Settings on /home type ntfs (binary) C:/cygwin/bin on >> /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs >> (binary,auto) C:/cygwin o

Re: Fwd: Problems with line endings for shell scripts

2010-02-09 Thread Jeremy Bopp
On 2/9/2010 2:41 AM, Jurgen Defurne wrote: > To be more complete : > > 1) These are the mount points on my portable : > > C:/Documents and Settings on /home type ntfs (binary) > C:/cygwin/bin on /usr/bin type ntfs (binary,auto) > C:/cygwin/lib on /usr/lib type ntfs (binary,auto) > C:/cygwin on /

Fwd: Problems with line endings for shell scripts

2010-02-09 Thread Jurgen Defurne
On Tue, Feb 9, 2010 at 9:21 AM, Defurne, Jurgen wrote: > > > -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of > Jeremy Bopp > Sent: 2010 feb 08 16:20 > To: cygwin@cygwin.com > Subject: Re: Problems with line endings

Re: Problems with line endings for shell scripts

2010-02-08 Thread David Antliff
On Tue, Feb 9, 2010 at 04:20, Jeremy Bopp wrote: > > On 2/8/2010 6:30 AM, Jurgen Defurne wrote: > > Today I am having a problem with running a shell script (sh/bash) > > which has CRLF endings. > > The problem is that Bash only supports Unix line endings Indeed - the problem gets far worse when y

Re: Problems with line endings for shell scripts

2010-02-08 Thread Jeremy Bopp
On 2/8/2010 6:30 AM, Jurgen Defurne wrote: > Dear all, > > I have the following mounts on my test & verification system for Cygwin 1.7. > > C:/Documents and Settings on /home type ntfs (binary,exec) > C:/cygwin/bin on /usr/bin type ntfs (binary,auto) > C:/cygwin/lib on /usr/lib type ntfs (binary,

Problems with line endings for shell scripts

2010-02-08 Thread Jurgen Defurne
Dear all, I have the following mounts on my test & verification system for Cygwin 1.7. C:/Documents and Settings on /home type ntfs (binary,exec) C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,auto) C:/local on