delorie.com/archives/browse.cgi | search |
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: | <jdna2f$cqu$1@dough.gmane.org> |
References: | <jdmp00$dso$1 AT dough DOT gmane DOT org> <jdna2f$cqu$1 AT dough DOT gmane DOT org> |
Date: | Sat, 31 Dec 2011 12:51:26 -0500 |
Message-ID: | <CAGHJv4cccBsX3=Mw3CykKXbyqZctONt0hUf6mUO_52RxsGXW=g@mail.gmail.com> |
Subject: | Re: CRLF |
From: | Chris Sutcliffe <ir0nh34d AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |