Overview
| Artifact ID: | a80b17a6e0e7564f6b68a7dd6e7add8bd2b783e2f5b7ae0f3ead52ab4589acaa |
|---|---|
| Page Name: | TclX Commands |
| Date: | 2025-06-30 15:56:41 |
| Original User: | dkf |
| Mimetype: | text/x-markdown |
| Next | 17520cfe6993b47180896c72a39aedb7a79190439f2aa79105c6d48f280001f2 |
Content
A Survey of TclX Command Status
| Category | Command | Obsolete | Notes (core command) |
|---|---|---|---|
| GENERAL | commandloop |
||
coalesce |
|||
dirs |
|||
echo |
Y | puts |
|
infox |
|||
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 |