delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 30 Apr 2009 16:36:23 -0500 (CDT) |
From: | Tim McDaniel <tmcd AT panix DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Normalized directory name |
Message-ID: | <Pine.NEB.4.64.0904301631080.20542@panix2.panix.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
I have access to a Windows 2003 system. Cygwin is running case-insensitive, so while the directory name is E:\CM\BuildUtil, I can type cd /cm/buildutil and get there (E:\CM is mounted on /cm). And if I do that particular cd, then pwd, /bin/pwd, and "echo $PWD" all say "/cm/buildutil". For tidiness, if nothing else, I'd like to get the normalized form, in much the same way how, in CMD, I can do E:\>cd cm\buildutil and have the prompt become E:\CM\BuildUtil> Emacs figures it out too. I Googled for the answer a while back, and I think the answer was "no way", but I was wondering whether the answer was correct, or whether someone has come up with a program or script to do better. -- Tim McDaniel, tmcd AT panix DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |