home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-11-19 | 54.2 KB | 1,241 lines |
- Newsgroups: comp.sources.misc
- From: karl@sugar.neosoft.com (Karl Lehenbauer)
- Subject: v26i002: tclx - extensions and on-line help for tcl 6.1, Part02/23
- Message-ID: <1991Nov19.005145.8259@sparky.imd.sterling.com>
- X-Md4-Signature: 275d2a3ad62233b07f8042bcf5bedbae
- Date: Tue, 19 Nov 1991 00:51:45 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: karl@sugar.neosoft.com (Karl Lehenbauer)
- Posting-number: Volume 26, Issue 2
- Archive-name: tclx/part02
- Environment: UNIX
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then unpack
- # it by saving it into a file and typing "sh file". To overwrite existing
- # files, type "sh file -c". You can also feed this as standard input via
- # unshar, or by typing "sh <file", e.g.. If this archive is complete, you
- # will see the following message at the end:
- # "End of archive 2 (of 23)."
- # Contents: extended/man/extdman.names extended/ossupport/Makefile
- # extended/tcllib/help/commands/append
- # extended/tcllib/help/commands/break
- # extended/tcllib/help/commands/concat
- # extended/tcllib/help/commands/continue
- # extended/tcllib/help/commands/eof
- # extended/tcllib/help/commands/errorInfo
- # extended/tcllib/help/commands/eval
- # extended/tcllib/help/commands/exit
- # extended/tcllib/help/commands/flush
- # extended/tcllib/help/commands/global
- # extended/tcllib/help/commands/incr
- # extended/tcllib/help/commands/join
- # extended/tcllib/help/commands/lsearch
- # extended/tcllib/help/commands/lsort
- # extended/tcllib/help/commands/rename
- # extended/tcllib/help/commands/return
- # extended/tcllib/help/commands/tell
- # extended/tcllib/help/commands/time
- # extended/tcllib/help/extended/alarm
- # extended/tcllib/help/extended/cindex
- # extended/tcllib/help/extended/crange
- # extended/tcllib/help/extended/csubstr
- # extended/tcllib/help/extended/getclock
- # extended/tcllib/help/extended/keyldel
- # extended/tcllib/help/extended/keylset
- # extended/tcllib/help/extended/kill
- # extended/tcllib/help/extended/lempty
- # extended/tcllib/help/extended/lvarpop
- # extended/tcllib/help/extended/max
- # extended/tcllib/help/extended/min
- # extended/tcllib/help/extended/mkdir
- # extended/tcllib/help/extended/scanfile
- # extended/tcllib/help/extended/system
- # extended/tcllib/help/extended/times
- # extended/tcllib/help/extended/translit
- # extended/tcllib/help/intro/semi-colons
- # extended/tcllib/help/tcl.tlib/edprocs
- # extended/tcllib/help/tcl.tlib/for_array_keys
- # extended/tcllib/help/tcl.tlib/for_file
- # extended/tcllib/help/tcl.tlib/for_recursive_
- # extended/tcllib/help/tcl.tlib/intersect3
- # extended/tcllib/help/tcl.tlib/lrmdups
- # extended/tcllib/help/tcl.tlib/pushd
- # extended/tcllib/help/tcl.tlib/recursive_glob
- # extended/tcllib/help/tcl.tlib/saveprocs
- # extended/tcllib/help/tclshell/demand_load
- # extended/tcllib/help/tclshell/utilprocs
- # extended/tclsrc/arrayprocs.tcl extended/tclsrc/forrecur.tcl
- # extended/tclsrc/globrecur.tcl extended/tclsrc/packages.tcl
- # extended/tclsrc/showprocs.tcl extended/tclsrc/stringfile.tcl
- # extended/tests/all extended/ucbsrc/Makefile
- # Wrapped by karl@one on Wed Nov 13 21:50:10 1991
- PATH=/bin:/usr/bin:/usr/ucb ; export PATH
- if test -f 'extended/man/extdman.names' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/man/extdman.names'\"
- else
- echo shar: Extracting \"'extended/man/extdman.names'\" \(457 characters\)
- sed "s/^X//" >'extended/man/extdman.names' <<'END_OF_FILE'
- XCmdWrite.man TclCommandWriting
- XCreateExte.man Tcl_CreateExtendedInterp
- XHandles.man {Tcl_HandleAlloc Tcl_HandleFree Tcl_HandleTblInit Tcl_HandleTblRelease Tcl_HandleTblUseCount Tcl_HandleWalk Tcl_HandleXlate}
- XKeylist.man {Tcl_GetKeyedListField Tcl_SetKeyedListField Tcl_DeleteKeyedListField}
- XMathErr.man Tcl_MathError
- XMemory.man {memory ckalloc ckfree Tcl_DisplayMemory Tcl_InitMemory Tcl_ValidateAllMemory}
- XTclShell.man tclshell
- XTclX.man {tclx ExtendedTcl}
- END_OF_FILE
- if test 457 -ne `wc -c <'extended/man/extdman.names'`; then
- echo shar: \"'extended/man/extdman.names'\" unpacked with wrong size!
- fi
- # end of 'extended/man/extdman.names'
- fi
- if test -f 'extended/ossupport/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/ossupport/Makefile'\"
- else
- echo shar: Extracting \"'extended/ossupport/Makefile'\" \(505 characters\)
- sed "s/^X//" >'extended/ossupport/Makefile' <<'END_OF_FILE'
- X#
- X# Makefile for Extended Tcl ossupport code. This file is designed to be run
- X# under the top-level Makefile and expects the following macros to be passed
- X# in via the environment for a 'all' make:
- X# o CFLAGS - CFLAGS for compilation. (Includes SUPPORT_FLAGS defined in
- X# top level make file).
- X# o OBJS - The ossupport objects to compile.
- X#
- X
- XSHELL=/bin/sh
- X
- XLIBTCL=../libtcl.a
- X
- Xall: made.tmp
- X
- Xmade.tmp: $(OBJS)
- X $(AR) cruv $(LIBTCL) $(OBJS)
- X touch made.tmp
- Xclean:
- X -rm -f made.tmp
- X -rm -f *.o
- END_OF_FILE
- if test 505 -ne `wc -c <'extended/ossupport/Makefile'`; then
- echo shar: \"'extended/ossupport/Makefile'\" unpacked with wrong size!
- fi
- # end of 'extended/ossupport/Makefile'
- fi
- if test -f 'extended/tcllib/help/commands/append' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/append'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/append'\" \(520 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/append' <<'END_OF_FILE'
- X append varName value ?value value ...?
- X Append all of the value arguments to the current value
- X of variable varName. If varName doesn't exist, it is
- X given a value equal to the concatenation of all the
- X value arguments. This command provides an efficient
- X way to build up long variables incrementally. For
- X example, ``append a $b'' is much more efficient than
- X ``set a $a$b'' if $a is long.
- END_OF_FILE
- if test 520 -ne `wc -c <'extended/tcllib/help/commands/append'`; then
- echo shar: \"'extended/tcllib/help/commands/append'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/append'
- fi
- if test -f 'extended/tcllib/help/commands/break' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/break'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/break'\" \(291 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/break' <<'END_OF_FILE'
- X break
- X This command may be invoked only inside the body of a
- X loop command such as for or foreach or while. It
- X returns a TCL_BREAK code to signal the innermost
- X containing loop command to return immediately.
- END_OF_FILE
- if test 291 -ne `wc -c <'extended/tcllib/help/commands/break'`; then
- echo shar: \"'extended/tcllib/help/commands/break'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/break'
- fi
- if test -f 'extended/tcllib/help/commands/concat' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/concat'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/concat'\" \(382 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/concat' <<'END_OF_FILE'
- X concat arg ?arg ...?
- X This command treats each argument as a list and
- X concatenates them into a single list. It permits any
- X number of arguments. For example, the command
- X
- X concat a b {c d e} {f {g h}}
- X
- X will return
- X
- X a b c d e f {g h}
- X as its result.
- END_OF_FILE
- if test 382 -ne `wc -c <'extended/tcllib/help/commands/concat'`; then
- echo shar: \"'extended/tcllib/help/commands/concat'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/concat'
- fi
- if test -f 'extended/tcllib/help/commands/continue' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/continue'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/continue'\" \(395 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/continue' <<'END_OF_FILE'
- X continue
- X This command may be invoked only inside the body of a
- X loop command such as for or foreach or while. It
- X returns a TCL_CONTINUE code to signal the innermost
- X containing loop command to skip the remainder of the
- X loop's body but continue with the next iteration of the
- X loop.
- END_OF_FILE
- if test 395 -ne `wc -c <'extended/tcllib/help/commands/continue'`; then
- echo shar: \"'extended/tcllib/help/commands/continue'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/continue'
- fi
- if test -f 'extended/tcllib/help/commands/eof' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/eof'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/eof'\" \(330 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/eof' <<'END_OF_FILE'
- X eof fileId
- X Returns 1 if an end-of-file condition has occurred on
- X fileId, 0 otherwise. FileId must have been the return
- X value from a previous call to open, or it may be stdin,
- X stdout, or stderr to refer to one of the standard I/O
- X channels.
- END_OF_FILE
- if test 330 -ne `wc -c <'extended/tcllib/help/commands/eof'`; then
- echo shar: \"'extended/tcllib/help/commands/eof'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/eof'
- fi
- if test -f 'extended/tcllib/help/commands/errorInfo' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/errorInfo'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/errorInfo'\" \(438 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/errorInfo' <<'END_OF_FILE'
- X errorInfo
- X After an error has occurred, this string will contain
- X one or more lines identifying the Tcl commands and
- X procedures that were being executed when the most
- X recent error occurred. Its contents take the form of a
- X stack trace showing the various nested Tcl commands
- X that had been invoked at the time of the error.
- END_OF_FILE
- if test 438 -ne `wc -c <'extended/tcllib/help/commands/errorInfo'`; then
- echo shar: \"'extended/tcllib/help/commands/errorInfo'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/errorInfo'
- fi
- if test -f 'extended/tcllib/help/commands/eval' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/eval'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/eval'\" \(521 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/eval' <<'END_OF_FILE'
- X eval arg ?arg ...?
- X Eval takes one or more arguments, which together
- X comprise a Tcl command (or collection of Tcl commands
- X separated by newlines in the usual way). Eval
- X concatenates all its arguments in the same fashion as
- X the concat command, passes the concatenated string to
- X the Tcl interpreter recursively, and returns the result
- X of that evaluation (or any error generated by it).
- END_OF_FILE
- if test 521 -ne `wc -c <'extended/tcllib/help/commands/eval'`; then
- echo shar: \"'extended/tcllib/help/commands/eval'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/eval'
- fi
- if test -f 'extended/tcllib/help/commands/exit' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/exit'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/exit'\" \(218 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/exit' <<'END_OF_FILE'
- X exit ?returnCode?
- X Terminate the process, returning returnCode to the
- X parent as the exit status. If returnCode isn't
- X specified then it defaults to 0.
- END_OF_FILE
- if test 218 -ne `wc -c <'extended/tcllib/help/commands/exit'`; then
- echo shar: \"'extended/tcllib/help/commands/exit'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/exit'
- fi
- if test -f 'extended/tcllib/help/commands/flush' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/flush'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/flush'\" \(410 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/flush' <<'END_OF_FILE'
- X flush fileId
- X Flushes any output that has been buffered for fileId.
- X FileId must have been the return value from a previous
- X call to open, or it may be stdout or stderr to access
- X one of the standard I/O streams; it must refer to a
- X file that was opened for writing. This command returns
- X an empty string.
- END_OF_FILE
- if test 410 -ne `wc -c <'extended/tcllib/help/commands/flush'`; then
- echo shar: \"'extended/tcllib/help/commands/flush'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/flush'
- fi
- if test -f 'extended/tcllib/help/commands/global' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/global'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/global'\" \(520 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/global' <<'END_OF_FILE'
- X global varname ?varname ...?
- X This command is ignored unless a Tcl procedure is being
- X interpreted. If so, then it declares the given
- X varname's to be global variables rather than local
- X ones. For the duration of the current procedure (and
- X only while executing in the current procedure), any
- X reference to any of the varnames will be bound to a
- X global variable instead of a local one.
- END_OF_FILE
- if test 520 -ne `wc -c <'extended/tcllib/help/commands/global'`; then
- echo shar: \"'extended/tcllib/help/commands/global'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/global'
- fi
- if test -f 'extended/tcllib/help/commands/incr' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/incr'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/incr'\" \(513 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/incr' <<'END_OF_FILE'
- X incr varName ?increment?
- X Increment the value stored in the variable whose name
- X is varName. The value of the variable must be
- X integral. If increment is supplied then its value
- X (which must be an integer) is added to the value of
- X variable varName; otherwise 1 is added to varName.
- X The new value is stored as a decimal string in variable
- X varName and also returned as result.
- END_OF_FILE
- if test 513 -ne `wc -c <'extended/tcllib/help/commands/incr'`; then
- echo shar: \"'extended/tcllib/help/commands/incr'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/incr'
- fi
- if test -f 'extended/tcllib/help/commands/join' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/join'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/join'\" \(372 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/join' <<'END_OF_FILE'
- X join list ?joinString?
- X The list argument must be a valid Tcl list. This
- X command returns the string formed by joining all of the
- X elements of list together with joinString separating
- X each adjacent pair of elements. The joinString
- X argument defaults to a space character.
- END_OF_FILE
- if test 372 -ne `wc -c <'extended/tcllib/help/commands/join'`; then
- echo shar: \"'extended/tcllib/help/commands/join'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/join'
- fi
- if test -f 'extended/tcllib/help/commands/lsearch' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/lsearch'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/lsearch'\" \(363 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/lsearch' <<'END_OF_FILE'
- X lsearch list pattern
- X Search the elements of list to see if one of them
- X matches pattern. If so, the command returns the index
- X of the first matching element. If not, the command
- X returns -1. Pattern matching is done in the same way
- X as for the string match command.
- END_OF_FILE
- if test 363 -ne `wc -c <'extended/tcllib/help/commands/lsearch'`; then
- echo shar: \"'extended/tcllib/help/commands/lsearch'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/lsearch'
- fi
- if test -f 'extended/tcllib/help/commands/lsort' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/lsort'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/lsort'\" \(199 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/lsort' <<'END_OF_FILE'
- X lsort list
- X Sort the elements of list, returning a new list in
- X sorted order. ASCII sorting is used, with the result
- X in increasing order.
- END_OF_FILE
- if test 199 -ne `wc -c <'extended/tcllib/help/commands/lsort'`; then
- echo shar: \"'extended/tcllib/help/commands/lsort'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/lsort'
- fi
- if test -f 'extended/tcllib/help/commands/rename' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/rename'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/rename'\" \(304 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/rename' <<'END_OF_FILE'
- X rename oldName newName
- X Rename the command that used to be called oldName so
- X that it is now called newName. If newName is an empty
- X string (e.g. {}) then oldName is deleted. The rename
- X command returns an empty string as result.
- END_OF_FILE
- if test 304 -ne `wc -c <'extended/tcllib/help/commands/rename'`; then
- echo shar: \"'extended/tcllib/help/commands/rename'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/rename'
- fi
- if test -f 'extended/tcllib/help/commands/return' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/return'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/return'\" \(288 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/return' <<'END_OF_FILE'
- X return ?value?
- X Return immediately from the current procedure (or top-
- X level command or source command), with value as the
- X return value. If value is not specified, an empty
- X string will be returned as result.
- END_OF_FILE
- if test 288 -ne `wc -c <'extended/tcllib/help/commands/return'`; then
- echo shar: \"'extended/tcllib/help/commands/return'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/return'
- fi
- if test -f 'extended/tcllib/help/commands/tell' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/tell'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/tell'\" \(331 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/tell' <<'END_OF_FILE'
- X tell fileId
- X Returns a decimal string giving the current access
- X position in fileId. FileId must have been the return
- X value from a previous call to open, or it may be stdin,
- X stdout, or stderr to refer to one of the standard I/O
- X channels.
- END_OF_FILE
- if test 331 -ne `wc -c <'extended/tcllib/help/commands/tell'`; then
- echo shar: \"'extended/tcllib/help/commands/tell'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/tell'
- fi
- if test -f 'extended/tcllib/help/commands/time' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/commands/time'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/commands/time'\" \(467 characters\)
- sed "s/^X//" >'extended/tcllib/help/commands/time' <<'END_OF_FILE'
- X time command ?count?
- X This command will call the Tcl interpreter count times
- X to execute command (or once if count isn't specified).
- X It will then return a string of the form
- X
- X 503 microseconds per iteration
- X
- X which indicates the average amount of time required per
- X iteration, in microseconds. Time is measured in
- X elapsed time, not CPU time.
- END_OF_FILE
- if test 467 -ne `wc -c <'extended/tcllib/help/commands/time'`; then
- echo shar: \"'extended/tcllib/help/commands/time'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/commands/time'
- fi
- if test -f 'extended/tcllib/help/extended/alarm' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/alarm'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/alarm'\" \(352 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/alarm' <<'END_OF_FILE'
- X
- X
- X alarm seconds
- X Instructs the system to send a SIGALRM signal in the
- X specified number of seconds. If seconds is 0, any
- X previous alarm request is canceled. Only one alarm at
- X a time may be active, the command returns the number of
- X seconds left in the previous alarm.
- END_OF_FILE
- if test 352 -ne `wc -c <'extended/tcllib/help/extended/alarm'`; then
- echo shar: \"'extended/tcllib/help/extended/alarm'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/alarm'
- fi
- if test -f 'extended/tcllib/help/extended/cindex' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/cindex'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/cindex'\" \(205 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/cindex' <<'END_OF_FILE'
- X
- X
- X cindex string index
- X Returns the character indexed by index (zero based)
- X from string. This command is a shortcut for:
- X string index string index
- END_OF_FILE
- if test 205 -ne `wc -c <'extended/tcllib/help/extended/cindex'`; then
- echo shar: \"'extended/tcllib/help/extended/cindex'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/cindex'
- fi
- if test -f 'extended/tcllib/help/extended/crange' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/crange'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/crange'\" \(397 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/crange' <<'END_OF_FILE'
- X
- X
- X crange string first last
- X Returns a range of characters from string starting at
- X first (zero-based) until last. The special keyword end
- X may be specified for last to indicate that the
- X remainder of the string is to be extracted. This
- X command is a short cut for:
- X string range string first last
- END_OF_FILE
- if test 397 -ne `wc -c <'extended/tcllib/help/extended/crange'`; then
- echo shar: \"'extended/tcllib/help/extended/crange'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/crange'
- fi
- if test -f 'extended/tcllib/help/extended/csubstr' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/csubstr'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/csubstr'\" \(423 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/csubstr' <<'END_OF_FILE'
- X
- X
- X csubstr string first length
- X Returns a range of characters from string starting at
- X first (zero-based) for length characters. The special
- X keyword end may be specified for length to indicate
- X that the remainder of the string is to be extracted.
- X This command is a short cut for:
- X string range string first [expr length-1]
- END_OF_FILE
- if test 423 -ne `wc -c <'extended/tcllib/help/extended/csubstr'`; then
- echo shar: \"'extended/tcllib/help/extended/csubstr'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/csubstr'
- fi
- if test -f 'extended/tcllib/help/extended/getclock' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/getclock'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/getclock'\" \(254 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/getclock' <<'END_OF_FILE'
- X
- X
- X getclock
- X Return the current date and time as a system dependent
- X integer value. The unit of the value is seconds,
- X allowing it to be used for relative time calculations
- X and so forth.
- END_OF_FILE
- if test 254 -ne `wc -c <'extended/tcllib/help/extended/getclock'`; then
- echo shar: \"'extended/tcllib/help/extended/getclock'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/getclock'
- fi
- if test -f 'extended/tcllib/help/extended/keyldel' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/keyldel'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/keyldel'\" \(218 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/keyldel' <<'END_OF_FILE'
- X
- X
- X keyldel listvar key
- X Delete the field specified by key from the keyed list
- X in the variable listvar. This removes both the key and
- X the value from the keyed list.
- END_OF_FILE
- if test 218 -ne `wc -c <'extended/tcllib/help/extended/keyldel'`; then
- echo shar: \"'extended/tcllib/help/extended/keyldel'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/keyldel'
- fi
- if test -f 'extended/tcllib/help/extended/keylset' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/keylset'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/keylset'\" \(363 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/keylset' <<'END_OF_FILE'
- X
- X
- X keylset listvar key value
- X Set the value associated with the key in the keyed list
- X in the variable listvar to value. If listvar does not
- X exists, it is created. If key is not currently in the
- X list, it will be added. If it already exists, value
- X overrides the existing value.
- END_OF_FILE
- if test 363 -ne `wc -c <'extended/tcllib/help/extended/keylset'`; then
- echo shar: \"'extended/tcllib/help/extended/keylset'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/keylset'
- fi
- if test -f 'extended/tcllib/help/extended/kill' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/kill'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/kill'\" \(450 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/kill' <<'END_OF_FILE'
- X
- X
- X kill [signal] processlist
- X Send a signal to the each process in the list
- X processlist, if permitted. Signal, if present, is the
- X signal number or the symbolic name of the signal, see
- X the signal system call manual page. The leading "SIG"
- X is optional when the signal is specified by its
- X symbolic name.
- X
- X The default for signo is 15, SIGTERM.
- END_OF_FILE
- if test 450 -ne `wc -c <'extended/tcllib/help/extended/kill'`; then
- echo shar: \"'extended/tcllib/help/extended/kill'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/kill'
- fi
- if test -f 'extended/tcllib/help/extended/lempty' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/lempty'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/lempty'\" \(235 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/lempty' <<'END_OF_FILE'
- X
- X
- X lempty list
- X Determine if the specified list is empty. If empty, 1
- X is returned, otherwise, 0 is returned. This command is
- X an alternative to comparing a list to an empty string.
- END_OF_FILE
- if test 235 -ne `wc -c <'extended/tcllib/help/extended/lempty'`; then
- echo shar: \"'extended/tcllib/help/extended/lempty'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/lempty'
- fi
- if test -f 'extended/tcllib/help/extended/lvarpop' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/lvarpop'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/lvarpop'\" \(509 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/lvarpop' <<'END_OF_FILE'
- X
- X
- X lvarpop var [index [string]]
- X The lvarpop command pops (deletes) the element indexed
- X by index from the list in the variable var. If index
- X is omitted, then 0 is assumed. If string, is
- X specified, then the deleted element is replaced by
- X string. The replaced or deleted element is returned.
- X Thus ``lvarpop argv 0'' returns the first element and
- X sets argv to contain the remainder of the string.
- END_OF_FILE
- if test 509 -ne `wc -c <'extended/tcllib/help/extended/lvarpop'`; then
- echo shar: \"'extended/tcllib/help/extended/lvarpop'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/lvarpop'
- fi
- if test -f 'extended/tcllib/help/extended/max' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/max'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/max'\" \(203 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/max' <<'END_OF_FILE'
- X
- X
- X max num1 num2 [..numN]
- X Returns the argument that has the highest numeric
- X value. The arguments, numN may be any interger or
- X floating point values.
- END_OF_FILE
- if test 203 -ne `wc -c <'extended/tcllib/help/extended/max'`; then
- echo shar: \"'extended/tcllib/help/extended/max'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/max'
- fi
- if test -f 'extended/tcllib/help/extended/min' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/min'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/min'\" \(202 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/min' <<'END_OF_FILE'
- X
- X
- X min num1 num2 [..numN]
- X Returns the argument that has the lowest numeric value.
- X The arguments, numN may be any interger or floating
- X point values.
- END_OF_FILE
- if test 202 -ne `wc -c <'extended/tcllib/help/extended/min'`; then
- echo shar: \"'extended/tcllib/help/extended/min'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/min'
- fi
- if test -f 'extended/tcllib/help/extended/mkdir' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/mkdir'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/mkdir'\" \(329 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/mkdir' <<'END_OF_FILE'
- X
- X
- X mkdir [-path] dirList
- X Create each of the directories in the list dirList.
- X The mode on the new directories is 777, modified by the
- X umask. If -path is specified, then any non-existent
- X parent directories in the specified path are also
- X created.
- END_OF_FILE
- if test 329 -ne `wc -c <'extended/tcllib/help/extended/mkdir'`; then
- echo shar: \"'extended/tcllib/help/extended/mkdir'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/mkdir'
- fi
- if test -f 'extended/tcllib/help/extended/scanfile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/scanfile'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/scanfile'\" \(342 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/scanfile' <<'END_OF_FILE'
- X
- X
- X scanfile contexthandle filehandle
- X Scan the file specified by filehandle, starting at the
- X current file position. Check all patterns in the scan
- X context specified by contexthandle against it,
- X executing the match commands corresponding to patterns
- X matched.
- END_OF_FILE
- if test 342 -ne `wc -c <'extended/tcllib/help/extended/scanfile'`; then
- echo shar: \"'extended/tcllib/help/extended/scanfile'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/scanfile'
- fi
- if test -f 'extended/tcllib/help/extended/system' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/system'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/system'\" \(402 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/system' <<'END_OF_FILE'
- X
- X
- X system command
- X Executes command via the system(3) call. Differs from
- X exec because system doesn't return stdout as the result
- X or the command and system goes through the shell to
- X provide wildcard expansion, redirection, etc, as is
- X normal from a sh command line. Returns the exit code
- X of the command.
- END_OF_FILE
- if test 402 -ne `wc -c <'extended/tcllib/help/extended/system'`; then
- echo shar: \"'extended/tcllib/help/extended/system'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/system'
- fi
- if test -f 'extended/tcllib/help/extended/times' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/times'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/times'\" \(267 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/times' <<'END_OF_FILE'
- X
- X
- X times
- X Return a list containing the process and child
- X execution times in the form:
- X utime stime cutime cstime
- X See times system call manual page. The values are in
- X milliseconds.
- END_OF_FILE
- if test 267 -ne `wc -c <'extended/tcllib/help/extended/times'`; then
- echo shar: \"'extended/tcllib/help/extended/times'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/times'
- fi
- if test -f 'extended/tcllib/help/extended/translit' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/extended/translit'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/extended/translit'\" \(421 characters\)
- sed "s/^X//" >'extended/tcllib/help/extended/translit' <<'END_OF_FILE'
- X
- X
- X translit inrange outrange string
- X Translate characters in string matching characters in
- X inrange to the corresponding character in outrange.
- X Inrange and outrange may be list of characters or a
- X range in the form `A-M'.
- X Example:
- X translit a-z A-Z foobar
- X returns
- X FOOBAR
- X
- END_OF_FILE
- if test 421 -ne `wc -c <'extended/tcllib/help/extended/translit'`; then
- echo shar: \"'extended/tcllib/help/extended/translit'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/extended/translit'
- fi
- if test -f 'extended/tcllib/help/intro/semi-colons' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/intro/semi-colons'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/intro/semi-colons'\" \(493 characters\)
- sed "s/^X//" >'extended/tcllib/help/intro/semi-colons' <<'END_OF_FILE'
- X SEPARATING COMMANDS WITH SEMI-COLONS
- X Normally, each command occupies one line (the command is
- X terminated by a newline character). However, semi-colon
- X (``;'') is treated as a command separator character;
- X multiple commands may be placed on one line by separating
- X them with a semi-colon. Semi-colons are not treated as
- X command separators if they appear within curly braces or
- X double-quotes.
- END_OF_FILE
- if test 493 -ne `wc -c <'extended/tcllib/help/intro/semi-colons'`; then
- echo shar: \"'extended/tcllib/help/intro/semi-colons'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/intro/semi-colons'
- fi
- if test -f 'extended/tcllib/help/tcl.tlib/edprocs' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tcl.tlib/edprocs'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tcl.tlib/edprocs'\" \(347 characters\)
- sed "s/^X//" >'extended/tcllib/help/tcl.tlib/edprocs' <<'END_OF_FILE'
- X
- X
- X edprocs [proc...]
- X Writes the named procedures, or all currently defined
- X procedures, to a temporary file, then calls an editor
- X on it (as specified by the EDITOR environment variable,
- X or vi if none is specified), then sources the file back
- X in if it was changed.
- END_OF_FILE
- if test 347 -ne `wc -c <'extended/tcllib/help/tcl.tlib/edprocs'`; then
- echo shar: \"'extended/tcllib/help/tcl.tlib/edprocs'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tcl.tlib/edprocs'
- fi
- if test -f 'extended/tcllib/help/tcl.tlib/for_array_keys' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tcl.tlib/for_array_keys'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tcl.tlib/for_array_keys'\" \(211 characters\)
- sed "s/^X//" >'extended/tcllib/help/tcl.tlib/for_array_keys' <<'END_OF_FILE'
- X
- X
- X for_array_keys var array_name code
- X Perform a foreach-style loop for each key in the named
- X array. The break and continue statements work as with
- X foreach.
- END_OF_FILE
- if test 211 -ne `wc -c <'extended/tcllib/help/tcl.tlib/for_array_keys'`; then
- echo shar: \"'extended/tcllib/help/tcl.tlib/for_array_keys'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tcl.tlib/for_array_keys'
- fi
- if test -f 'extended/tcllib/help/tcl.tlib/for_file' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tcl.tlib/for_file'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tcl.tlib/for_file'\" \(374 characters\)
- sed "s/^X//" >'extended/tcllib/help/tcl.tlib/for_file' <<'END_OF_FILE'
- X
- X
- X for_file var filename { code }
- X For each line in filename, sets var to the line and
- X executes code.
- X
- X The break and continue commands work as with foreach.
- X
- X For example, the command
- X
- X for_file line /etc/passwd {echo $line}
- X
- X would echo all the lines in the password file.
- END_OF_FILE
- if test 374 -ne `wc -c <'extended/tcllib/help/tcl.tlib/for_file'`; then
- echo shar: \"'extended/tcllib/help/tcl.tlib/for_file'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tcl.tlib/for_file'
- fi
- if test -f 'extended/tcllib/help/tcl.tlib/for_recursive_' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tcl.tlib/for_recursive_'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tcl.tlib/for_recursive_'\" \(406 characters\)
- sed "s/^X//" >'extended/tcllib/help/tcl.tlib/for_recursive_' <<'END_OF_FILE'
- X
- X
- X for_recursive_glob var globlist code
- X Performs a foreach-style loop for each file and
- X directory that recursively matched one or more patterns
- X specified in the call to for_recursive_glob, setting
- X var to the matching file or directory, and calling
- X code. The break and continue statements work as
- X expected.
- END_OF_FILE
- if test 406 -ne `wc -c <'extended/tcllib/help/tcl.tlib/for_recursive_'`; then
- echo shar: \"'extended/tcllib/help/tcl.tlib/for_recursive_'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tcl.tlib/for_recursive_'
- fi
- if test -f 'extended/tcllib/help/tcl.tlib/intersect3' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tcl.tlib/intersect3'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tcl.tlib/intersect3'\" \(470 characters\)
- sed "s/^X//" >'extended/tcllib/help/tcl.tlib/intersect3' <<'END_OF_FILE'
- X
- X
- X intersect3 lista listb
- X Performs the intersecting of the two lists, returning a
- X list containing three lists. The first list returned
- X is everything in the first list that wasn't in the
- X second. The second list contains the intersection of
- X the two lists, and the third list contains all the
- X elements that were in the second list but weren't in
- X the first.
- END_OF_FILE
- if test 470 -ne `wc -c <'extended/tcllib/help/tcl.tlib/intersect3'`; then
- echo shar: \"'extended/tcllib/help/tcl.tlib/intersect3'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tcl.tlib/intersect3'
- fi
- if test -f 'extended/tcllib/help/tcl.tlib/lrmdups' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tcl.tlib/lrmdups'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tcl.tlib/lrmdups'\" \(192 characters\)
- sed "s/^X//" >'extended/tcllib/help/tcl.tlib/lrmdups' <<'END_OF_FILE'
- X
- X
- X lrmdups list
- X Remove duplicate elements from a list. Sorts the
- X specified list, removes any duplicate elements, and
- X returns the result.
- END_OF_FILE
- if test 192 -ne `wc -c <'extended/tcllib/help/tcl.tlib/lrmdups'`; then
- echo shar: \"'extended/tcllib/help/tcl.tlib/lrmdups'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tcl.tlib/lrmdups'
- fi
- if test -f 'extended/tcllib/help/tcl.tlib/pushd' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tcl.tlib/pushd'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tcl.tlib/pushd'\" \(268 characters\)
- sed "s/^X//" >'extended/tcllib/help/tcl.tlib/pushd' <<'END_OF_FILE'
- X
- X
- X pushd [dir]
- X Push the current directory onto the directory stack and
- X cd to the specified directory. If the directory is not
- X specified, then the current directory is pushed, but
- X remains unchanged.
- END_OF_FILE
- if test 268 -ne `wc -c <'extended/tcllib/help/tcl.tlib/pushd'`; then
- echo shar: \"'extended/tcllib/help/tcl.tlib/pushd'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tcl.tlib/pushd'
- fi
- if test -f 'extended/tcllib/help/tcl.tlib/recursive_glob' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tcl.tlib/recursive_glob'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tcl.tlib/recursive_glob'\" \(274 characters\)
- sed "s/^X//" >'extended/tcllib/help/tcl.tlib/recursive_glob' <<'END_OF_FILE'
- X
- X
- X recursive_glob globlist
- X Does the same thing as glob, except that it recursively
- X descends all the matched subdirectories, returning a
- X list of all the files that matched all pattern in the
- X list globlist.
- END_OF_FILE
- if test 274 -ne `wc -c <'extended/tcllib/help/tcl.tlib/recursive_glob'`; then
- echo shar: \"'extended/tcllib/help/tcl.tlib/recursive_glob'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tcl.tlib/recursive_glob'
- fi
- if test -f 'extended/tcllib/help/tcl.tlib/saveprocs' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tcl.tlib/saveprocs'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tcl.tlib/saveprocs'\" \(207 characters\)
- sed "s/^X//" >'extended/tcllib/help/tcl.tlib/saveprocs' <<'END_OF_FILE'
- X
- X
- X saveprocs fileName [proc...]
- X Save the definition of the named procedure, or all
- X currently defined procedures if none is specified, to
- X the named file.
- END_OF_FILE
- if test 207 -ne `wc -c <'extended/tcllib/help/tcl.tlib/saveprocs'`; then
- echo shar: \"'extended/tcllib/help/tcl.tlib/saveprocs'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tcl.tlib/saveprocs'
- fi
- if test -f 'extended/tcllib/help/tclshell/demand_load' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tclshell/demand_load'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tclshell/demand_load'\" \(473 characters\)
- sed "s/^X//" >'extended/tcllib/help/tclshell/demand_load' <<'END_OF_FILE'
- X
- X demand_load procname Attempt to load the specified
- X procedure, either as an autoload function or by loading the
- X package containing the procedure. If the package indexes
- X have not been loaded for all package libraries in TCLPATH,
- X they will be loaded. Out-of-date library indexes will be
- X rebuilt if they are writable. The procedure returns 1 if
- X the procedure was sucessfully loaded, or 0 if it was not.
- END_OF_FILE
- if test 473 -ne `wc -c <'extended/tcllib/help/tclshell/demand_load'`; then
- echo shar: \"'extended/tcllib/help/tclshell/demand_load'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tclshell/demand_load'
- fi
- if test -f 'extended/tcllib/help/tclshell/utilprocs' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tcllib/help/tclshell/utilprocs'\"
- else
- echo shar: Extracting \"'extended/tcllib/help/tclshell/utilprocs'\" \(239 characters\)
- sed "s/^X//" >'extended/tcllib/help/tclshell/utilprocs' <<'END_OF_FILE'
- X
- X searchpath path file Search all directories in the specified
- X path, which is a Tcl list, for the specified file. Returns
- X the full path name of the file, or an empty string if the
- X file is not found.
- END_OF_FILE
- if test 239 -ne `wc -c <'extended/tcllib/help/tclshell/utilprocs'`; then
- echo shar: \"'extended/tcllib/help/tclshell/utilprocs'\" unpacked with wrong size!
- fi
- # end of 'extended/tcllib/help/tclshell/utilprocs'
- fi
- if test -f 'extended/tclsrc/arrayprocs.tcl' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tclsrc/arrayprocs.tcl'\"
- else
- echo shar: Extracting \"'extended/tclsrc/arrayprocs.tcl'\" \(450 characters\)
- sed "s/^X//" >'extended/tclsrc/arrayprocs.tcl' <<'END_OF_FILE'
- X#@package: array_procedures for_array_keys
- X
- Xproc for_array_keys {varName arrayName codeFragment} {
- X upvar $varName enumVar $arrayName enumArray
- X
- X if ![info exists enumArray] {
- X error "\"$arrayName\" isn't an array"
- X }
- X
- X set searchId [array startsearch enumArray]
- X while {[array anymore enumArray $searchId]} {
- X set enumVar [array nextelement enumArray $searchId]
- X uplevel $codeFragment
- X }
- X array donesearch enumArray $searchId
- X}
- END_OF_FILE
- if test 450 -ne `wc -c <'extended/tclsrc/arrayprocs.tcl'`; then
- echo shar: \"'extended/tclsrc/arrayprocs.tcl'\" unpacked with wrong size!
- fi
- # end of 'extended/tclsrc/arrayprocs.tcl'
- fi
- if test -f 'extended/tclsrc/forrecur.tcl' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tclsrc/forrecur.tcl'\"
- else
- echo shar: Extracting \"'extended/tclsrc/forrecur.tcl'\" \(397 characters\)
- sed "s/^X//" >'extended/tclsrc/forrecur.tcl' <<'END_OF_FILE'
- X#@package: forrecur for_recursive_glob
- X
- Xproc for_recursive_glob {var globlist code {depth 1}} {
- X upvar $depth $var myVar
- X foreach globpat $globlist {
- X foreach file [glob -nocomplain $globpat] {
- X set myVar $file
- X uplevel $depth $code
- X if [file isdirectory $file] {
- X for_recursive_glob $var $file/* $code [expr {$depth + 1}]
- X }
- X }
- X }
- X}
- X
- X
- END_OF_FILE
- if test 397 -ne `wc -c <'extended/tclsrc/forrecur.tcl'`; then
- echo shar: \"'extended/tclsrc/forrecur.tcl'\" unpacked with wrong size!
- fi
- # end of 'extended/tclsrc/forrecur.tcl'
- fi
- if test -f 'extended/tclsrc/globrecur.tcl' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tclsrc/globrecur.tcl'\"
- else
- echo shar: Extracting \"'extended/tclsrc/globrecur.tcl'\" \(368 characters\)
- sed "s/^X//" >'extended/tclsrc/globrecur.tcl' <<'END_OF_FILE'
- X#@package: globrecur recursive_glob
- X
- Xproc recursive_glob {globlist} {
- X set result ""
- X foreach pattern $globlist {
- X foreach file [glob -nocomplain $pattern] {
- X lappend result $file
- X if [file isdirectory $file] {
- X set result [concat $result [recursive_glob $file/*]]
- X }
- X }
- X }
- X return $result
- X}
- X
- X
- END_OF_FILE
- if test 368 -ne `wc -c <'extended/tclsrc/globrecur.tcl'`; then
- echo shar: \"'extended/tclsrc/globrecur.tcl'\" unpacked with wrong size!
- fi
- # end of 'extended/tclsrc/globrecur.tcl'
- fi
- if test -f 'extended/tclsrc/packages.tcl' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tclsrc/packages.tcl'\"
- else
- echo shar: Extracting \"'extended/tclsrc/packages.tcl'\" \(509 characters\)
- sed "s/^X//" >'extended/tclsrc/packages.tcl' <<'END_OF_FILE'
- X#@package: packages packages autoprocs
- X
- Xproc packages {} {
- X global TCLENV
- X set packList {}
- X foreach key [array names TCLENV] {
- X if {[string match "PKG:*" $key]} {
- X lappend packList [string range $key 4 end]
- X }
- X }
- X return $packList
- X}
- X
- Xproc autoprocs {} {
- X global TCLENV
- X set procList {}
- X foreach key [array names TCLENV] {
- X if {[string match "PROC:*" $key]} {
- X lappend procList [string range $key 5 end]
- X }
- X }
- X return $procList
- X}
- END_OF_FILE
- if test 509 -ne `wc -c <'extended/tclsrc/packages.tcl'`; then
- echo shar: \"'extended/tclsrc/packages.tcl'\" unpacked with wrong size!
- fi
- # end of 'extended/tclsrc/packages.tcl'
- fi
- if test -f 'extended/tclsrc/showprocs.tcl' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tclsrc/showprocs.tcl'\"
- else
- echo shar: Extracting \"'extended/tclsrc/showprocs.tcl'\" \(416 characters\)
- sed "s/^X//" >'extended/tclsrc/showprocs.tcl' <<'END_OF_FILE'
- X#@package: show_procedures showproc showprocs
- X
- Xproc showproc {procname} {
- X if [lempty [info procs $procname]] {demand_load $procname}
- X format "proc %s \{%s\} \{%s\}\n" $procname [info args $procname] \
- X [info body $procname]
- X}
- X
- Xproc showprocs {args} {
- X if [lempty $args] { set args [info procs] }
- X set out ""
- X
- X foreach i $args {
- X foreach j $i { append out [showproc $j] "\n"}
- X }
- X return $out
- X}
- X
- END_OF_FILE
- if test 416 -ne `wc -c <'extended/tclsrc/showprocs.tcl'`; then
- echo shar: \"'extended/tclsrc/showprocs.tcl'\" unpacked with wrong size!
- fi
- # end of 'extended/tclsrc/showprocs.tcl'
- fi
- if test -f 'extended/tclsrc/stringfile.tcl' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tclsrc/stringfile.tcl'\"
- else
- echo shar: Extracting \"'extended/tclsrc/stringfile.tcl'\" \(277 characters\)
- sed "s/^X//" >'extended/tclsrc/stringfile.tcl' <<'END_OF_FILE'
- X#@package: stringfile_functions read_file write_file
- X
- Xproc read_file {fileName} {
- X set fp [open $fileName]
- X set result [read $fp]
- X close $fp
- X return $result
- X}
- X
- Xproc write_file {fileName string} {
- X set fp [open $fileName w]
- X puts $fp $string
- X close $fp
- X}
- X
- END_OF_FILE
- if test 277 -ne `wc -c <'extended/tclsrc/stringfile.tcl'`; then
- echo shar: \"'extended/tclsrc/stringfile.tcl'\" unpacked with wrong size!
- fi
- # end of 'extended/tclsrc/stringfile.tcl'
- fi
- if test -f 'extended/tests/all' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/tests/all'\"
- else
- echo shar: Extracting \"'extended/tests/all'\" \(315 characters\)
- sed "s/^X//" >'extended/tests/all' <<'END_OF_FILE'
- X# This file contains a top-level script to run all of the Tcl
- X# tests. Execute it by invoking "source all" when running tclTest
- X# in this directory.
- X#
- X# $Header: /sprite/src/lib/tcl/tests/RCS/all,v 1.4 91/09/08 13:43:07 ouster Exp $ (Berkeley)
- X
- Xforeach i [lsort [glob *.test]] {
- X puts stdout $i
- X source $i
- X}
- END_OF_FILE
- if test 315 -ne `wc -c <'extended/tests/all'`; then
- echo shar: \"'extended/tests/all'\" unpacked with wrong size!
- fi
- # end of 'extended/tests/all'
- fi
- if test -f 'extended/ucbsrc/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'extended/ucbsrc/Makefile'\"
- else
- echo shar: Extracting \"'extended/ucbsrc/Makefile'\" \(428 characters\)
- sed "s/^X//" >'extended/ucbsrc/Makefile' <<'END_OF_FILE'
- X#
- X# Makefile for Extended Tcl updates to the standard UCB Tcl. This file is
- X# designed to be run under the top-level Makefile and expects the following
- X# macros to be passed in via the environment for a 'all' make:
- X# o CFLAGS - CFLAGS for compilation.
- X#
- X
- XSHELL=/bin/sh
- X
- XOBJS=tclBasic.o
- XLIBTCL=../libtcl.a
- X
- Xall: made.tmp
- X
- Xmade.tmp: $(OBJS)
- X $(AR) cruv $(LIBTCL) $(OBJS)
- X touch made.tmp
- Xclean:
- X -rm -f made.tmp
- X -rm -f $(OBJS)
- END_OF_FILE
- if test 428 -ne `wc -c <'extended/ucbsrc/Makefile'`; then
- echo shar: \"'extended/ucbsrc/Makefile'\" unpacked with wrong size!
- fi
- # end of 'extended/ucbsrc/Makefile'
- fi
- echo shar: End of archive 2 \(of 23\).
- cp /dev/null ark2isdone
- MISSING=""
- for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 23 archives.
- echo "Now cd to "extended", edit the makefile, then do a "make""
- rm -f ark[1-9]isdone ark[1-9][0-9]isdone
- else
- echo You still need to unpack the following archives:
- echo " " ${MISSING}
- fi
- ## End of shell archive.
- exit 0
-
- exit 0 # Just in case...
- --
- Kent Landfield INTERNET: kent@sparky.IMD.Sterling.COM
- Sterling Software, IMD UUCP: uunet!sparky!kent
- Phone: (402) 291-8300 FAX: (402) 291-4362
- Please send comp.sources.misc-related mail to kent@uunet.uu.net.
-