Overview
| Artifact ID: | 357c39da9ce277af5b07370e699b8e5fa863b67d |
|---|---|
| Ticket: | 678662ffffffffffffffffffffffffffffffffff
Tcl needs 'file normalize -full' and similar C api. |
| User & Date: | dgp on 2003-02-06 22:45:49 |
Changes
- icomment:
Logged In: YES user_id=80530 Thanks, Vince. I understand better now. (Looking at the docs always helps.) So, it seems clear that the [file] command does not hide links from the caller. The caller is expected to know that links exist and behave somewhat differently from normal files. Given that, it seems the correct answer has already been identified. If the caller does want to follow a symlink reference, that caller should evaluate: file join [file dirname $link] [file readlink $link] and then [file normalize] the result, if normalized form is required. All the tools are in place, and it's up to the caller to use them correctly. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"