Glue [1 ] is the name of a Tcl Library that contains a variety of things, including:
The term glue refers to the fact that scripting languages, like Tcl, were originally designed as a means of "glueing" together applications by means of easy and flexible control constructs to handle interprocess communication (IPC) and system resources.
For example, in the traditional scripting language ksh, one might write:
#! /bin/ksh wc -l "[email protected]" | sort -n | tail
which means count the number of lines in all of the files provided, sort the number of lines in increasing numeric order, and then display only the last 10 lines
display the top 10 files with regard to the number of lines
This concept of taking smaller filter applications and then providing the means to easily glue them together to create more complex applications is one of the hallmarks of early Unix - before free software became the battle cry of the community.
Tcl has several means of exhibiting its glue capability
[contribution of additional methods are welcome]
Isn't the reputation that "glue" is one of Tcl's strengths more connected with its ability to interface with libraries and applications written in C and other languages, i.e., the whole Embedding vs. Extending thing?