This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CRLF


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]