next | previous | forward | backward | up | top | index | toc | directory | Macaulay 2 web site

toAbsolutePath -- the absolute path version of a file name

Synopsis

Description

i1 : toAbsolutePath "a/b.m2"

o1 = /mike-raid/home/dan/src/M2/1.2/BUILD/dan/builds/ubuntu64/Macaulay2/
     packages/Macaulay2Doc-temporary/a/b.m2

Paths of the form foo/x/../bar, are shortened to foo/bar without checking the file system to see whether x is a symbolic link. For the other behavior, see realpath.

See also