% info patchlevel
8.5a5
% clock format 0 -format {}
% clock format 0 -format *
invalid command name "::tcl::clock::formatproc'*'C"
This comes from parseClockFormatFormat where existence
of previous formatter is checked with
if {[info procs $procName] != {}} {
which finds everything (with *). Can be fixed with
if {$procName in [info procs "formatproc*"]} {
which doesn't use glob-magic. Usage of 8.5 "in"
operator seems appropriate since new clock isn't being
backported.
Logged In: YES
user_id=80530
[namespace which] makes
a good alternative to
[info commands] when one
command is sought that might
contain glob-special chars.