Web lists-archives.com

cygpath (reprised)




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?

$ uname -svr
CYGWIN_NT-6.1 2.7.0(0.306/5/3) 2017-02-12 13:18
$ cygpath --version
cygpath (cygwin) 2.7.0
Path Conversion Utility
Copyright (C) 1998 - 2017 Cygwin Authors
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$

--Ken Nellis

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