> Guile provides "readlink". Isn't it the thing you need? no, i am afraid not. readlink returns the target of a symbolic link. realpath resolves all directory references like ".." and "." and all symbolic links in a path and returns a path that does not include those things.
i have now implemented my own version of realpath in scheme (could have used the ffi probably), but since it is a standard lib function in C and guile offers many other posix functions, i thought it would be well suited for inclusion.
