Index: library.n =================================================================== RCS file: /cvsroot/tcl/doc/library.n,v retrieving revision 1.1.2.2 diff -c -r1.1.2.2 library.n *** library.n 1998/11/11 04:08:14 1.1.2.2 --- library.n 1999/04/06 22:47:33 *************** *** 60,70 **** The following procedures are provided in the Tcl library: .TP \fBauto_execok \fIcmd\fR ! Determines whether there is an executable file by the name \fIcmd\fR. This command examines the directories in the current search path ! (given by the PATH environment variable) to see if there is an ! executable file named \fIcmd\fR in any of those directories. ! If so, it returns 1; if not it returns 0. \fBAuto_exec\fR remembers information about previous searches in an array named \fBauto_execs\fR; this avoids the path search in future calls for the same \fIcmd\fR. The command \fBauto_reset\fR --- 60,76 ---- The following procedures are provided in the Tcl library: .TP \fBauto_execok \fIcmd\fR ! Determines whether there is an executable file or shell builtin ! by the name \fIcmd\fR. ! If so, it returns a list of arguments to be passed to \fBexec\fR ! to execute the executable file or shell builtin named by \fIcmd\fR. ! If not, it returns an empty string. This command examines the directories in the current search path ! (given by the PATH environment variable) in its search for an ! executable file named \fIcmd\fR. On Windows platforms, the search ! is expanded with the same directories and file extensions as used ! by \fBexec\fR. ! \fBAuto_exec\fR remembers information about previous searches in an array named \fBauto_execs\fR; this avoids the path search in future calls for the same \fIcmd\fR. The command \fBauto_reset\fR *************** *** 276,283 **** Unix, words are comprised of numbers, letters or underscores. .VE .TP ! \fBunknown_active\fR ! This variable is set by \fBunknown\fR to indicate that it is active. It is used to detect errors where \fBunknown\fR recurses on itself infinitely. The variable is unset before \fBunknown\fR returns. --- 282,290 ---- Unix, words are comprised of numbers, letters or underscores. .VE .TP ! \fBunknown_pending\fR ! Used by \fBunknown\fR to record the command(s) for which it is ! searching. It is used to detect errors where \fBunknown\fR recurses on itself infinitely. The variable is unset before \fBunknown\fR returns.