delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/23/14:35:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: Yes, hits=5.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FSL_RU_URL,KAM_THEBAT,TW_YG
X-Spam-Check-By: sourceware.org
Date: Thu, 23 Jun 2011 22:28:25 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <137049074.20110623222825@mtu-net.ru>
To: Charles Wilson <cygwin AT cygwin DOT com>
Subject: Re: Strange cygpath behavior.
In-Reply-To: <4E0378B9.2040209@cwilson.fastmail.fm>
References: <73619422 DOT 20110621092310 AT mtu-net DOT ru> <20110623141253 DOT GA20806 AT calimero DOT vinschen DOT de> <4E036D6B DOT 8080408 AT cwilson DOT fastmail DOT fm> <4E0378B9 DOT 2040209 AT cwilson DOT fastmail DOT fm>
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-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Greetings, Charles Wilson!

>> I don't know what the difference in your settings is, though.  Something
>> with readline, maybe.
>
> Despite the APPEARANCE (*) of invoking cygpath from within a cygwin
> shell, it seems the OP is actually invoking cygpath directly from a
> regular cmd.exe console:
>
> On my machine, from cmd.exe:
>
> C:\cygwin\bin>cygpath -u \\DAEMON1\anrdaemon\.profile
> //DAEMON1/anrdaemon/.profile
>
> On my machine, from bash.exe:
>
> $ cygpath -u \\DAEMON1\anrdaemon\.profile
> /c/DAEMON1anrdaemon.profile
>
>
> (*) [\\DAEMON1\anrdaemon]$cygpath -u \\DAEMON1\anrdaemon\.profile
>     ^^^^^^^^^^^^^^^^^^^^^^
>     oh, look, a unix-style command prompt, aka $PS1...

 Eh, yep >.> The default Windows/DOS ">" prompt confusing me, it had a
completely different meaning back in the days, so I always change it to reduce
my nerve stress.


--
WBR,
 Andrey Repin (anrdaemon AT freemail DOT ru) 23.06.2011, <22:25>

Sorry for my terrible english...


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019