Table of Contents
(TCLX) - Extended Tcl commands

(TCLX) - Extended Tcl commands

alarm
send SIGALARM in specified number of seconds

apropos
search help descriptions for matching pattern

auto_commands
list names of all loadable procedures and commands

auto_load
attempt to load the specified command from a loadable library

auto_load_file
source a file, using auto_path as search parameter

auto_packages
return list of names of all defined packages

bsearch
search open file for match

buildpackageindex
build index files for package libraries

catclose
close message catalog cathandle

catgets
retrieve message from message catalog

catopen
open message catalog catname

cequal
compare two strings for equality

cexpand
expand backslash characters in string to actual characters

chgrp
set group ID for files in specified list

chmod
set permissions of files in specified list

chown
set owner of files in specified list

chroot
change root directory to specified name

cindex
return character indexed by given expression from string

clength
return length of string in characters

cmdtrace
print trace statement for executing commands

commandloop
create interactive command loop for Tcl interpreter

convertclock
convert date string to integer value

convert_lib
convert a Ousterhout style index file and source files into a package library

copyfile
copy remainder of file1 to file2

crange
return a range of characters from string

csubstr
return a substring of characters from string

ctoken
parse a token out of a character string

ctype
test whether characters in a string are of a given class

dirs
list directories in directory stack

dup
duplicate an open file

echo
write to standard input, followed by newline

edprocs
write named procedures to temporary file, call editor

execl
replace current program with another, passing arguments in list

fcntl
set or clear a file option or return its current value

flock
set, clear, or return file options

fmtclock
convert time integer to readable clock format

for_array_keys
perform foreach for each key in named array

for_file
implement loop over contents of a file

fork
fork the current Tcl process

for_recursive_glob
perform foreach loop over recursively matched files

frename
rename old path to new path

fstat
obtain status information on open file

funlock
remove lock created by flock

getclock
return current date and time as integer

help
provide lists of all available help subjects and pages

helpcd
change the current help subject

helppwd
display the current help subject

id
get, set, convert user, group, process IDs

infox
return info on application or extended Tcl

intersect
return the logical intersection of two lists

intersect3
return the logical intersection of two lists and exceptions

keyldel
delete key and value from keyed list

keylget
return value associated with key from the keyed list in the variable listvar

keylkeys
return the list of keys in the keyed list in the variable listvar

keylset
set the value of key in the keyed list contained in the variable listvar

kill
signal processes found in list

lassign
assign successive elements of a list to specified variables

lempty
determine if specified list is empty

lgets
read next Tcl list from file and discard terminating newline

link
create hard or symbolic link between files

lmatch
return list entries matching specified pattern

loadlibindex
load the package library index of a .tlib library file

loop
high performance loop command for fixed increments

lrmdups
remove duplicate list entries and re-sort

lvarcat
concatenate string to end of specified list

lvarpop
delete list element indexed by specified variable

lvarpush
insert string to specified list

max
return argument with highest numeric value

min
return argument with lowest numeric value

mkdir
create specified directories

nice
change or return process priority

pipe
create a pipe

popd
pop top directory from directory stack to current directory

profile
collect performance profile of a Tcl script

profrep
generates a report from data collected by profile(TCLX)

pushd
push current directory onto directory stack and cd to specified directory

random
return pseudo-random positive integer

readdir
list contents of specified directory

read_file
read file and return contents as string

recursive_glob
return list of recursively-matched files

replicate
replicate string n times

rmdir
remove specified directories

saveprocs
save definition of named or defined procedures to named file

scancontext
set scan file context

scanfile
scan open file starting from current position

scanmatch
specify Tcl commands to be evaluated when regexp(TCL) is matched by a scanfile

searchpath
search all directories in the specified path

select
wait for files to come available or satisfy conditions

server_info
obtain information about a TCP/IP server

server_open
open TCP/IP connection to server on specified port

showproc
list definitions of named procedures

signal
specify action to take when Tcl is signalled by UNIX

sleep
sleep for specified time in seconds

sync
flush all pending disk output

system
execute command via system(S) call

times
list process and child execution times

translit
change characters in inrange to outrange

umask
set file creation mode

union
return logical unique union of two lists

unlink
delete (unlink) listed files

wait
wait for process created by execl to terminate

write_file
write strings to specified file