Alfredo Braunstein <[EMAIL PROTECTED]> writes: > what about [ `dirname "$1"` -ef `dirname "$2"` ] ? > > No idea about portability and such.
Works on MacOSX (bash). Apparently the default on MacOSX is "pwd -L" rather than "pwd -P" as stated in the manpage, so the original script would not work on Mac. /Andreas