X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <D1910DC3A90FB84ABD07C7162BA3349A7D0539@itexch01.170systems.com>
Subject: RE: Continuing CR/LF Problems
Date: Tue, 30 Jan 2007 17:29:55 -0000
Message-ID: <040a01c74494$423051e0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <D1910DC3A90FB84ABD07C7162BA3349A7D0539@itexch01.170systems.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 30 January 2007 15:50, Eramo, Mark wrote:

> As part of this multiplatform installer it generates a setup.sh script
> from information in the Installshield jars. When the setup.sh is
> produced, all the lines are terminated with a "^M"

  That'll be the bug then.  Report it upstream to the Ant maintainers.

> If you look at SHELLOPTS in the environment, it indicates that it knows
> about the igncr setting.
> 
> "SHELLOPTS=braceexpand:emacs:hashall:histexpand:igncr:interactive-commen
> ts:monitor"

  There's nothing that bash can do about this.  It's not bash that creates
these scripts, it's the installshield program.

> I cannot do a simple d2u because there are some "^M's" that need to be
> in the file and this will remove them thus corrupting the file.

  What?!  This is a shell script, intended to run on a linux-alike system
which doesn't understand ^M.  How can they be "necessary"?  


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

