68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
+
+
+
+
|
## Tcl → fconfigure
1. The text for the `-encoding` option does not specify how to spell the names of the encodings. As these are not the MIME/IANA names, a reference to `encoding name` will help to understand which encodings are available and how to spell them, also because they are case-sensitive ('UTF-8' is not recognized as it is not the same as 'utf-8').
## Tcl → file
1. `file tempfile` doesn't tell where it puts the temporary files. Should it be documented that on Windows e.g. it is in the `$env(TEMP)` directory?
2. `file normalize` does not resolve symbolic links. This is not explicitly stated but can be learned from the context of the description. It should be made explicit: "The command does not resolve symbolic links contained in the last path component. This one exception is necessary, because Tcl or the user may wish to operate ..." (see also the discussion in [TIP 738](https://core.tcl-lang.org/tips/doc/trunk/tip/738.md)).
## Tcl → info
1. `info script` is documented to return a path name. However, it is not documented that this pathname is returned just as it was specified, either as a relative or an absolute path. This should be added after the first sentence: "The returned pathname is an absolute or relative path, depending on how the path was specified when the script was called". The rationale is that using the path from `info script` after using `cd` to form a file name will lead to a different path than one might think when implicitly thinking that `info script` will always return the absolute path (see also the discussion in [TIP 738](https://core.tcl-lang.org/tips/doc/trunk/tip/738.md)).
## Tcl → interp
1. The section on `interp create` explains the `-safe` option but does not refer/link to the section where safe interpreters are explained in detail.
2. The description of `interp create ?-safe? ...` does not mention the `safe` command and how `safe` is different from `interp create -safe` (i.e. the so-called "Safe Base" as explained in Welsh's Practical Programming book). The same should be added to the manual page for `safe`.
|