Command procedures
These procedures are provided in the Tcl library:
will read all the .tcl files in subdirectory foo and generate a new index file foo/tclIndex.
auto_mkindex parses the Tcl scripts in a relatively unsophisticated way: if any line contains the word ``proc'' as its first characters then it is assumed to be a procedure definition and the next word of the line is taken as the procedure's name. Procedure definitions that do not appear in this way (if, for example, they have spaces before the ``proc'') will not be indexed.