Mwnci isequal() Function

Syntax

isequal(string,string)

Description

The isequal() function returns true the first named file has the same inode and on the same device as the second named file, false if not. That is, the files are hard linked, or indeed the same file.

Example

include("file")
println(isequal("/bin/ls", "/bin/ls"))
println(isequal("/etc/passwd", "/bin/ls"))

true
false