X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_PD X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 31 Dec 2011 12:51:26 -0500 Message-ID: Subject: Re: CRLF From: Chris Sutcliffe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 31 December 2011 10:34, Andrew DeFaria wrote: > On 12/31/11 02:43, Franz Fehringer wrote: >> There is an ongoing discussion about how to successfully execute shell >> scripts with CRLF line endings with bash and zsh. >> With bash i can use >> set -o igncr >> and now my question is how to achieve the same thing with mksh (MirBSD >> Korn Shell)? >> pdksh accepted CRLF scripts without special configuration btw. > > Why don't you ask on a MirBSD Korn Shell mailing list? I'll raise this on the mksh mailing list, but I suspect the answer will be similar to other Windowisms that have come up in the past. The mksh developer's preference is that mksh behave the same irregardless of platform, as such, I don't think mksh will likely ever support scripts with CRLF endings. > Or you could use dos2unix... I think this would be the best course of action on this particular issue. Chris -- Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple