delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/31/10:35:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_PD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: CRLF
Date: Sat, 31 Dec 2011 07:34:38 -0800
Lines: 20
Message-ID: <jdna2f$cqu$1@dough.gmane.org>
References: <jdmp00$dso$1 AT dough DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0
In-Reply-To: <jdmp00$dso$1@dough.gmane.org>
X-Stationery: 0.7.7
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 12/31/11 02:43, Franz Fehringer wrote:
> Hi,
>
> 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.
>
> Thanks and best regards
>
> Franz
Why don't you ask on a MirBSD Korn Shell mailing list?

Or you could use dos2unix...
-- 
Andrew DeFaria <http://defaria.com>
Birthdays are good for you. the more you have, the longer you live.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019