realpath
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | realpath [2006/07/11 04:57] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # $EPIC: realpath.txt, | ||
| + | ======Synopsis: | ||
| + | $__realpath__(< | ||
| + | |||
| + | ======Technical: | ||
| + | * If the < | ||
| + | * If the operating system does not have the realpath(3) function call, the < | ||
| + | * All directories, | ||
| + | * The return function is the full absolute path of < | ||
| + | * This function calls the operating system' | ||
| + | |||
| + | ======Practical: | ||
| + | Useful if you want to find the absolute path of filename with ' | ||
| + | ' | ||
| + | |||
| + | ======Returns: | ||
| + | The absolute path equivalent of < | ||
| + | |||
| + | ======Examples: | ||
| + | If /home is a symbolic link to /usr/home, and /usr/local is a link | ||
| + | to /local, then | ||
| + | |||
| + | < | ||
| + | $realpath(/ | ||
| + | |||
| + | | ||
| + | .. -> /usr | ||
| + | local -> /local | ||
| + | src -> /local/src) | ||
| + | </ | ||
| + | |||
realpath.txt · Last modified: 2006/07/11 04:57 by 127.0.0.1
