/usr/share/tcltk/tcllib1.18/lambda/pkgIndex.tcl is in tcllib 1.18-dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | #checker -scope global exclude warnUndefinedVar
# var in question is 'dir'.
if {![package vsatisfies [package provide Tcl] 8.5]} {
# PRAGMA: returnok
return
}
# Utility wrapper around ::apply for easier writing.
package ifneeded lambda 1 [list source [file join $dir lambda.tcl]]
|