j kalbhenn (2017-06-04 21:36 +0000) wrote: >> 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.
Oh, I see. There is 'canonicalize-path' that can handle ".." and "." > 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. Yeah, I agree, I also expected to see 'realpath' in Guile :-) -- Alex