Different symlink resolution in native console vs. terminal
Wed Mar 10 22:51:58 GMT 2021
Win 7 Pro fully upgraded.
Running `pwd -P` or `readlink -e .` in a specific directory from native
terminal provide unresolved answers.
The directory $HOME/Documents/EVE is a symlink pointing to $HOME\Documents\Games\EVE.
When running either command inside the directory from native terminal, the
result is literally /home/Documents/EVE, but when running the same command
from mintty inside same directory, the results may vary.
$HOME/Documents/EVE or $HOME/Documents/Games/EVE (which is expected answer).
It also seems, there are results difference between `bash -l` `and bash -i`
and `pwd -P` and `readlink -e .`.
Generally, "pwd" is more correct.
With best regards,
Thursday, March 11, 2021 1:33:36
Sorry for my terrible english...
More information about the Cygwin