This section briefly lists all Extended Tcl commands, grouped logically by function.
commandloop | Create an interactive command loop. |
dirs | List directories in directory stack. |
echo | Write strings to standard output. |
for_array_keys | Loop over each key in an array. |
for_recursive_glob | Loop recursively over files matching a pattern. |
host_info | Return information about a network host. |
infox | Return information about Extended Tcl. |
loop | Loop over a range of values. |
mainloop | Call event loop handler. |
popd | Pop top entry from the directory stack. |
pushd | Push entry onto directory stack. |
recursive_glob | Return list of files recursively matching pattern. |
tclx_errorHandler | User-defined procedure to handle errors. |
try_eval | Evaluate code and trap errors. |
cmdtrace | Trace command execution. |
edprocs | Edit source code for procedures. |
profile | Collect performance data. |
profrep | Generate report from performance data. |
saveprocs | Save procedure definitions to file. |
showproc | List definitions of procedures. |
Send alarm signal. | |
chroot | Change root directory. |
execl | Start a new program. |
fork | Create a child process. |
id | Set, get, or convert user, group, and process identifiers. |
kill | Send signal to a process. |
link | Create a hard or symbolic link. |
nice | Set or get process priority. |
readdir | Return list of directory entries. |
signal | Handle Unix signals. |
sleep | Delay process execution. |
sync | Flush pending buffered output. |
system | Execute shell command. |
times | Return process and child execution times. |
umask | Set or get file creation permission mask. |
wait | Wait for command to terminate. |
bsearch | Search lines of file for a string. |
chgrp | Set group ID of files. |
chmod | Set file permissions. |
chown | Set owner of files. |
dup | Duplicate an open file identifier. |
fcntl | Set or get attributes of file identifier. |
flock | Apply lock on an open file. |
for_file | Loop over contents of a file. |
fstat | Return status information about an open file identifier. |
ftruncate | Truncate a file to a specified length. |
funlock | Remove lock from an open file. |
lgets | Read Tcl list from a file. |
pipe | Create a pipe. |
read_file | Read file contents into a string. |
select | Check file identifiers for change in status. |
write_file | Write strings to a file. |
scancontext | Create, delete, or modify file scan contexts. |
scanfile | Perform file context scanning. |
scanmatch | Specify commands for file context scanning. |
These commands operate in the same fashion as their counterparts that are built into the expr command. They accept as arguments any expression accepted by the expr command. The trigonometric functions use values expressed in radians.
abs | Absolute value. |
acos | Arc cosine. |
asin | Arc sine. |
atan | Arc tangent. |
atan2 | Arc tangent (accepts two parameters). |
ceil | Round up to the nearest integer. |
cos | Cosine. |
cosh | Hyperbolic cosine. |
double | Convert numeric value to double-precision floating-point value. |
exp | e raised to the power of the argument. |
floor | Round down to the nearest integer. |
fmod | Floating-point remainder (accepts two arguments). |
hypot | Hypotenuse function (accepts two arguments). |
int | Convert to integer by truncating. |
log | Natural logarithm. |
log10 | Base 10 logarithm. |
max | Maximum value (accepts one or more arguments). |
min | Minimum value (accepts one or more arguments). |
pow | Exponentiation (accepts two parameters). |
random | Return random floating-point number. |
round | Convert to integer by rounding. |
sin | Sine. |
sinh | Hyperbolic sine. |
sqrt | Square root. |
tan | Tangent. |
tanh | Hyperbolic tangent. |
Return list of elements common to two lists. | |
intersect3 | Accept two lists, returning items common to, and unique to, each list. |
lassign | Assign list elements to variables. |
lcontain | Return 1 if element is contained in a list. |
lempty | Return 1 if a list is empty. |
lmatch | Search list for elements matching a pattern. |
lrmdups | Remove duplicate list elements. |
lvarcat | Concatenate lists onto a variable. |
lvarpop | Delete or replace list element contained in a variable. |
lvarpush | Insert element into list contained in a variable. |
union | Return logical union of two lists. |
keyldel | Delete entry from keyed list. |
keylget | Return value from keyed list. |
keylkeys | Return list of keys from keyed list. |
keylset | Set value in keyed list. |
Return collation ordering of two strings. | |
cconcat | Concatenate strings. |
cequal | Compare strings for equality. |
cindex | Return one character from a string. |
clength | Return length of a string. |
crange | Return range of characters from a string. |
csubstr | Return substring of a string. |
ctoken | Parse a token out of a string. |
ctype | Return type of characters in a string. |
replicate | Replicate a string several times. |
translit | Transliterate characters in a string. |
apropos | Locate help information based on a pattern. |
help | Online help system for Extended Tcl. |
helpcd | Change current location in tree of help subjects. |
helppwd | List current help subject location. |
auto_commands | List names of loadable commands. |
auto_load_file | Source a file using autoload path. |
auto_ packages | Return names of defined packages. |
buildpackageindex | |
convert_lib | Convert Tcl index and source files into a package. |
loadlibindex | Load a package library index. |
searchpath | Search a path of directories for a file. |