X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Date: Wed, 26 Jan 2011 00:33:50 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Tcl file separator Message-ID: <20110126053350.GA31872@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <2BF01EB27B56CC478AD6E5A0A28931F201DD85B4 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <2BF01EB27B56CC478AD6E5A0A28931F201DD8DE9 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2BF01EB27B56CC478AD6E5A0A28931F201DD8DE9@A1DAL1SWPES19MB.ams.acs-inc.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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 Tue, Jan 25, 2011 at 03:48:32PM -0600, Nellis, Kenneth wrote: >From: Nellis, Kenneth >> I'm thinking that Cygwin Tcl's "pwd" should match Cygwin's and >> that "file separator" should return a Linux one. >> >> knellis AT COBQDPPJ1 ~ >> $ pwd >> /cygdrive/d/cyghome/knellis >> >> knellis AT COBQDPPJ1 ~ >> $ /cygdrive/c/cygwin/bin/tclsh84.exe >> % pwd >> D:/cyghome/knellis >> % file separator >> \ >> % > >I was hoping my OP would get some traction. >It seems the basic purpose of Tcl's set of "file" commands >is to allow one to write platform-independent scripts that >need to manipulate pathnames. The Cygwin implementation seems >to be broken. Tcl is currently one part of the Cygwin installation that is pretty much pure windows. It is that way for the sole purpose of working with the insight debugger. So it takes windows paths and is not a real Cygwin application. I'm working on this very very slowly but I don't have an ETA for when this will be fixed. -- 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