Artifact f18cb4b4b582adc83102e085f9b2713e05b4ce205967a60eb7f9de80b1497393:
- Executable file tools/addVerToFile.tcl — part of check-in [20cbdc6605] at 2020-11-27 09:58:46 on branch one-file-distribution — Better version ID, trying to track down weird macOS problem (user: dkf size: 217) [more...]
#!/usr/bin/env tclsh if {$argc < 1} { error "need a filename argument" } lassign $argv filename set f [open $filename a] puts $f "TCL_VERSION=[info tclversion]" puts $f "TCL_PATCHLEVEL=[info patchlevel]" close $f