delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/21/13:05:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=FlzrbXui092MtDso
AxO4Nz+W5sTbAWecDS8T/wVj1jJGIerN4tuoIBXUuMwx1mNEWOnH2ot7XM3pQ/Ow
oyyya0GLy6yFrp3/0G3Gf0TOH0Fq2Do7YBVfqw5E2epW4oOoGeTfcf2F7AtxkBv2
pQo/CmY4NF0FX9hU/YJMYQ2BeOk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=vdXO7vxBmPYbCo0DuV6o6X
I22A8=; b=c93lplpkhmpYVQI+xSdmPoIMICjp6CF15OtXZ41QaWpHnb55ov0FIA
fBROWdriA9xZ0Z/zxsmXd9cbp1pK9yGaeizkl2NfXi4dWVWt9pJjWgCfy81gajcc
yA2alvMTw4PcWlMZd8fnk1CHN5OFpWyR0Eukwl+sXQvd4oYfruXDQ=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*F:D*yandex.ru, H*M:yandex
X-HELO: forward2p.cmail.yandex.net
Authentication-Results: smtp1h.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Tue, 21 Feb 2017 21:02:52 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <198383594.20170221210252@yandex.ru>
To: "Nellis, Kenneth (Conduent)" <Kenneth DOT Nellis AT conduent DOT com>,
cygwin AT cygwin DOT com
Subject: Re: cygpath (reprised)
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A704BBEEB39@USA7109MB022.na.xerox.net>
References: <0D835E9B9CD07F40A48423F80D3B5A704BBEEB39 AT USA7109MB022 DOT na DOT xerox DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Nellis, Kenneth (Conduent)!

> I followed and understood the discussion to all the recent cygpath postings, 
> so I understand and expect the following:

> $ cygpath -w 'a*b' | od -An -tx1c
>   61  ef  80  aa  62  0a
>    a 357 200 252   b  \n
> $

> But, consider the following:

> $ cygpath -w a:b | od -An -tx1c
>   41  3a  62  0a
>    A   :   b  \n
> $

> Instead of the special character colon (:), shouldn't cygpath be showing 
> something in the Unicode Private Use area?

No, it shouldn't.
You've requested a name "b" in the current directory on the disk "A:", or a
file substream "b" of the file "a".
Both are valid system paths.


-- 
With best regards,
Andrey Repin
Tuesday, February 21, 2017 21:01:01

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