Returns the value of the symbolic link given by name (i.e. the name of the file it points to). If name isn't a symbolic link or its value cannot be read, then an error is returned. On systems that don't support symbolic links this option is undefined.
GNU coreutils provides "readlink -f", which outputs the canonical location for a file. Here's a TCL proc that does the same: