In vimscript, how do I compare whether two pathnames refer to
same file (does "../../symlink1" and "/home/joe/file1" refer to same
inode ?)

This is what's normally done with stat() and comparing inode &
device in unix, or what 'test x -ef y' in bash/shell does;  ignores
differences in abolute vs relative pathnames, and resolving all
symlinks.

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to