Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: os.dirname - Function Up: os - Tool Previous: os.mkdir - Function


os.fullname - Function



Package utility
Module misc
Tool os


expand path names


Synopsis
fullname(pathname)


Description
Expand path names to their full absolute names by substituting environment variables (e.g. $HOME), applying tilde expansion, and prefixing a relative name with the working directory. It also takes care that parts . and .. are removed and that multiple slashes are replaced by a single slash. A possible trailing slash is also removed.
Note that it does not substitute symbolic links.



Example
  dos.fullname ('~mhaller')
/home/rzmws0/mhaller
  dos.fullname ('~mhaller//./../')
/home/rzmws0



Arguments

pathname in path name
    Allowed: vector of strings
    Default: '.'


Returns
vector of strings




next up previous contents index
Next: os.dirname - Function Up: os - Tool Previous: os.mkdir - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15