i1 : realpath "." o1 = /tmp/M2-3117-0/74-rundir/ |
i2 : p = temporaryFileName() o2 = /tmp/M2-3990-0/0 |
i3 : q = temporaryFileName() o3 = /tmp/M2-3990-0/1 |
i4 : symlinkFile(p,q) |
i5 : p << close o5 = /tmp/M2-3990-0/0 o5 : File |
i6 : readlink q o6 = /tmp/M2-3990-0/0 |
i7 : realpath q o7 = /tmp/M2-3990-0/0 |
i8 : removeFile p |
i9 : removeFile q |
The empty string is interpreted as a reference to the current directory.
i10 : realpath "" o10 = /tmp/M2-3117-0/74-rundir/ |
The object realpath is a compiled function.