> I'm having the following problem:
> % set i [interp create -safe]
> interp0
> % interp expose $i file
> ::tcl::mathfunc::maxunknown hidden command "file"
> %
> Running the latest ActiveTcl 8.6 on Ubuntu Linux.
> If I do
> %interp eval $i {info commands}
> tell subst eof list pid time eval lassign lrange fblocked lsearch gets case lappend proc throw break variable llength return linsert error catch clock info split array if coroutine concat join lreplace fcopy global switch update close for file append lreverse format read package set binary namespace scan apply trace seek zlib while chan flush after vwait dict uplevel continue try foreach lset rename fileevent regexp lrepeat upvar tailcall expr unset regsub interp puts incr lindex lsort string yield
> I'm surprised to see file in the list of commands available in the safe interpreter.
> Any suggestions would be appreciated.
Certain parts of the 'file' command have always been available in the