This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Normalized directory name
- From: Tim McDaniel <tmcd at panix dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 30 Apr 2009 16:36:23 -0500 (CDT)
- Subject: Normalized directory name
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@panix.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/