From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25999 invoked by alias); 1 Dec 2011 19:17:46 -0000 Received: (qmail 25987 invoked by uid 22791); 1 Dec 2011 19:17:44 -0000 X-SWARE-Spam-Status: No, hits=-2.7 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 Received: from mail-ee0-f43.google.com (HELO mail-ee0-f43.google.com) (74.125.83.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Dec 2011 19:17:29 +0000 Received: by eeaq46 with SMTP id q46so1774333eea.2 for ; Thu, 01 Dec 2011 11:17:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.21.74 with SMTP id q52mr529606weq.36.1322767048150; Thu, 01 Dec 2011 11:17:28 -0800 (PST) Received: by 10.216.235.133 with HTTP; Thu, 1 Dec 2011 11:17:28 -0800 (PST) In-Reply-To: <748260321.20111201203028@mtu-net.ru> References: <4ED74766.7010301@yahoo.com> <748260321.20111201203028@mtu-net.ru> Date: Thu, 01 Dec 2011 19:17:00 -0000 Message-ID: Subject: Re: Will win32 style paths ever work in mksh on cygwin? From: Chris Sutcliffe To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-12/txt/msg00011.txt.bz2 Hi All, I am the mksh maintainer for Cygwin... On 1 December 2011 11:30, Andrey Repin wrote: >> Are there any plans to make mksh on cygwin win32-path aware, or will >> mksh on cygwin support only POSIX? > > You have to ask mksh author(s). I work closely with Thorsten Glaser, who is the mksh author. His position is that mksh behaviour should remain consistent across platforms, as such his expectation is that any scripts run via mksh be POSIX path compliant (this has come up in the past). >> If it remains to be POSIX only, and pdksh apparently gone from the list >> of shells, is the only alternative to rewrite all existing ksh scripts >> that might use win32 style paths? > > The last trend in *NIX society, that I noticed, is to write portable scripts. > Which means, they should work with /bin/sh. (The base POSIX shell implementation.) Fundamentally, Cygwin has been pushing the use of POSIX paths for quite some time (in fact it warns you when it encounters a DOS / Windows path). As has been pointed out, many Cygwin utilities support DOS / Windows paths (likely for historical reasons I suspect), but mksh will not. Not the answer you were hoping for I'm sure, but it is where we are at right now. Cheers, 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