Greetings, Mainz, Roland!

> ----

> We're trying to use UNC paths (e.g. //server/home/xyz/), but some of our
> scripts fail when /usr/bin/realpath is used.

> Example:
> ---- snip ----
> $ uname -a
> CYGWIN_NT-10.0-19045 WINGRENDEL01 3.4.9-1.x86_64 2023-09-06 11:19 UTC x86_64 
> Cygwin

> $ realpath "$PWD"
> realpath:
> //crawlinghorror_ipv6/home/rmainz/tmp/projekt_kraken/try11_rde/RDE-Development/build_windows10_msnfs_ipv6:
>  No such file or directory
> ---- snip ----

> Bug or feature ?

> ----

$  pwd
//DAEMON-EC.DARKDRAGON.LAN/D

$  echo "$PWD"
//DAEMON-EC.DARKDRAGON.LAN/D

$  which realpath
/bin/realpath

$  /bin/realpath "$PWD"
//DAEMON-EC.DARKDRAGON.LAN/D


-- 
With best regards,
Andrey Repin
Friday, September 29, 2023 23:04:17

Sorry for my terrible english...


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to