From: matt@... (matt neuburg) Date: 2008-10-25T02:40:08+09:00 Subject: Re: How to tell if two paths point to the same file? Kenneth McDonald wrote: > I've tried using File.expand_path to normalize path names, but this > doesn't always seem to give identical results for the same file, if > one of the involved paths goes through a symbolic link. Is there > another way to do this? Does Pathname#realpath help? m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com