Skip to content
Tcl Source Code Update of ”TclX Commands”
Login

Update of ”TclX Commands”

Overview

Artifact ID: 17520cfe6993b47180896c72a39aedb7a79190439f2aa79105c6d48f280001f2
Page Name:TclX Commands
Date: 2025-06-30 16:00:20
Original User: dkf
Mimetype:text/x-markdown
Parent: a80b17a6e0e7564f6b68a7dd6e7add8bd2b783e2f5b7ae0f3ead52ab4589acaa (diff)
Next 5f4b401716a8d9bbec200a0e75e58ad4d7ada0688614fb30468df68903548436
Content

A Survey of TclX Command Status

One of the most fruitful sources of future commands for Tcl has been Karl Lehenbauer's TclX extension. This is a short survey of the bits and pieces that remain there to help us identify candidates for possible future TIPs.

They're organised by (abbreviated) category from the manual page (except for mainloop which is miscategorised).


Category Command Obsolete Notes (core command)
GENERAL commandloop
coalesce
dirs
echo Y puts
infox mostly irrelevant
for_array_keys Y array names + foreach (for technical reasons)
for_recursive_glob
loop Y for or foreach+lseq
mainloop
popd
pushd
for_recursive_glob
showproc
try_eval Y try
DEBUGGING cmdtrace
edprocs
profile
profrep
saveprocs
POSIX alarm
execl Y exec (except in edge cases)
chroot
fork
id
kill
link Y file link
nice
readdir Y glob
signal
sleep Y after
system Y exec (typically)
sync
times
umask
wait Y tcl::process status -wait
FILE bsearch
channelfd
chmod
chown
chgrp
dup
fcntl see chan configure
flock
for_file Y foreachLine
funlock
fstat Y chan configure -stat (for files)
ftruncate Y chan truncate
lgets
pipe Y chan pipe
read_file Y readFile
select Y chan event+vwait (different abstraction)
write_file Y writeFile
NETWORK host_info
SCANNING scancontext
scanfile
scanmatch
MATH abs Y tcl::mathfunc::abs
acos Y tcl::mathfunc::acos
asin Y tcl::mathfunc::asin
atan Y tcl::mathfunc::atan
atan2 Y tcl::mathfunc::atan2
ceil Y tcl::mathfunc::ceil
cos Y tcl::mathfunc::cos
cosh Y tcl::mathfunc::cosh
double Y tcl::mathfunc::double
exp Y tcl::mathfunc::exp
floor Y tcl::mathfunc::floor
fmod Y tcl::mathfunc::fmod
hypot Y tcl::mathfunc::hypot
int Y tcl::mathfunc::int
log10 Y tcl::mathfunc::log10
log Y tcl::mathfunc::log
max Y tcl::mathfunc::max
min Y tcl::mathfunc::min
pow Y tcl::mathfunc::pow
random Y tcl::mathfunc::random
round Y tcl::mathfunc::round
sin Y tcl::mathfunc::sin
sinh Y tcl::mathfunc::sinh
sqrt Y tcl::mathfunc::sqrt
tan Y tcl::mathfunc::tan
tanh Y tcl::mathfunc::tanh
LISTS intersect
intersect3
lassign Y lassign
lcontain Y in operator
lempty
lmatch Y lsearch -all -inline
lrmdups
lvarcat Y lappend var {*}$thing...
lvarpop Y lpop (though different defaults)
lvarpush Y ledit -1 -1
union
KEYED LISTS keyldel Y dict remove/dict unset (approx)
keylget Y dict get (approx)
keylkeys Y dict keys (approx)
keylset Y dict replace/dict set (approx)
STRINGS ccollate Y string compare (approx)
cconcat Y string cat
cequal Y string equal
cindex Y string index
clength Y string length
crange Y string range
csubstr Y string range (approx)
ctoken
ctype Y string is
replicate Y string repeat
translit sort of like string map but not exactly
MSGCAT catclose Y msgcat package
catgets Y msgcat package
catopen Y msgcat package
HELP apropos
help
helpcd
helppwd
PACKAGES auto_commands Y package, tm
auto_load_file Y package, tm
auto_packages Y package, tm
buildpackageindex Y package, tm
convert_lib Y package, tm
loadlibindex Y package, tm
searchpath Y package, tm