Posted to tcl by Stu at Sat Jun 03 06:18:16 GMT 2023view pretty
$ uname -sm OpenBSD amd64 $ echo 'puts [package require tdom]' | tclsh8.6 can't find package tdom $ ls example3.tcl q.tcl $ md5 -q example3.tcl 4b3d907b8f3256f14a5f3d6c8f8b4ab0 $ cat q.tcl set auto_path $tcl_library ;# reset to only Tcl library if {$argc > 0} { source example3.tcl } catch {package require tdom} res; puts $res $ tclsh8.6 q.tcl can't find package tdom $ tclsh8.6 q.tcl xyz 0.9.3 --------------------------------------------- $ uname -sm OpenBSD amd64 $ echo 'puts [package require tdom]' | tclsh8.6 can't find package tdom $ ls example3.tcl q.tcl $ md5 -q example3.tcl 4b3d907b8f3256f14a5f3d6c8f8b4ab0 $ cat q.tcl set auto_path $tcl_library ;# reset to only Tcl library if {$argc > 0} { source example3.tcl } catch {package require tdom} res; puts $res $ tclsh8.6 q.tcl can't find package tdom $ tclsh8.6 q.tcl xyz 0.9.3