Re: Same file?

2010-04-28 Thread Douglas
little way in Rev to check and see if two file paths are the same? For example: "../../../Home/jeff/foo.txt" "/Users/Home/jeff/foo.txt" "c:\Users\Home\jeff\foo.txt" These may all actually be the same file. Before I go down the road of directory traversals, file pa

Re: Same file?

2010-04-16 Thread Richard Gaskin
Paul D. DeRocco wrote: From: Richard Gaskin Andre wrote: > put the md5digest of url ("binfile:" & path1) into tMD5file1 > put the md5digest of url ("binfile:" & path2) into tMD5file2 > if tMD5file1 is tMD5file2 then > return true > else > return false > end if Andre, you've been programmi

RE: Same file?

2010-04-16 Thread Paul D. DeRocco
> From: Richard Gaskin > > Andre wrote: > > > put the md5digest of url ("binfile:" & path1) into tMD5file1 > > put the md5digest of url ("binfile:" & path2) into tMD5file2 > > if tMD5file1 is tMD5file2 then > > return true > > else > > return false > > end if > > Andre, you've been programming

Re: Same file?

2010-04-16 Thread Richard Gaskin
Andre wrote: put the md5digest of url ("binfile:" & path1) into tMD5file1 put the md5digest of url ("binfile:" & path2) into tMD5file2 if tMD5file1 is tMD5file2 then return true else return false end if Andre, you've been programming too deeply for too long. :) MD5digest is great for stor

Re: Same file?

2010-04-16 Thread Andre Garzia
; > just to see if the paths are equivalent then it is another business. > > > > On Fri, Apr 16, 2010 at 6:21 PM, Jeff Massung wrote: > > > > > Is there a nice little way in Rev to check and see if two file paths > are > > > the > > > same? For exa

Re: Same file?

2010-04-16 Thread Jeff Massung
lent then it is another business. > > On Fri, Apr 16, 2010 at 6:21 PM, Jeff Massung wrote: > > > Is there a nice little way in Rev to check and see if two file paths are > > the > > same? For example: > > > > "../../../Home/jeff/foo.txt" > > &

Re: Same file?

2010-04-16 Thread Andre Garzia
"/Users/Home/jeff/foo.txt" > "c:\Users\Home\jeff\foo.txt" > > These may all actually be the same file. Before I go down the road of > directory traversals, file path separators, and drive name parsing... is > there a way for me to know in Rev if they are the same eas

Re: Same file?

2010-04-16 Thread Björnke von Gierke
f/foo.txt" > "c:\Users\Home\jeff\foo.txt" > > These may all actually be the same file. Before I go down the road of > directory traversals, file path separators, and drive name parsing... is > there a way for me to know in Rev if they are the same easily? > >

Same file?

2010-04-16 Thread Jeff Massung
Is there a nice little way in Rev to check and see if two file paths are the same? For example: "../../../Home/jeff/foo.txt" "/Users/Home/jeff/foo.txt" "c:\Users\Home\jeff\foo.txt" These may all actually be the same file. Before I go down the road of directory tr