toAbsolutePath -- the absolute path version of a file name

Synopsis

• Usage:
toAbsolutePath filename
• Inputs:
• filename,
• Outputs:
• , the absolute (real) path name of filename

Description

 i1 : toAbsolutePath "a/b.m2" o1 = /home/m2user/src/M2/M2.git/M2/BUILD/dan/builds.tmp/ubuntu2004-release-1.18- branch/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.