$ pwd
/home/Thomas/Utveckling/Cgreen/thoni56/cgreen
$ realpath .
/cygdrive/c/Users/Thomas/Utveckling/Cgreen/thoni56/cgreen
$ cygpath -a .
/cygdrive/c/Users/Thomas/Utveckling/Cgreen/thoni56/cgreen/
Why is this? Why is absolute path from the root /cygdrive
and not /
?
How do I get an absolute path that starts with /home
from a relative path, such as ..
, if I'm in that tree?