diff options
author | dgp <dgp@noemail.net> | 2003-03-19 21:57:29 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2003-03-19 21:57:29 (GMT) |
commit | a1b71ee254e4a779ec4535b9df1a966d58098c7c (patch) | |
tree | 442e8a70c6a7eb9cab94e31ce02f4e195e3956b3 /tools | |
parent | b78ba0400fc818ba0e35cebd3f6b9130b631d718 (diff) | |
download | tcl-a1b71ee254e4a779ec4535b9df1a966d58098c7c.zip tcl-a1b71ee254e4a779ec4535b9df1a966d58098c7c.tar.gz tcl-a1b71ee254e4a779ec4535b9df1a966d58098c7c.tar.bz2 |
* library/auto.tcl: Replaced [regexp] and [regsub] with
* library/history.tcl: [string map] where possible. Thanks
* library/ldAout.tcl: to David Welton. [Bugs 667456,667558]
* library/safe.tcl: Bumped to http 2.4.3, opt 0.4.5, and
* library/http/http.tcl: tcltest 2.2.3.
* library/http/pkgIndex.tcl:
* library/opt/optparse.tcl:
* library/opt/pkgIndex.tcl:
* library/tcltest/tcltest.tcl:
* library/tcltest/pkgIndex.tcl:
* tools/genStubs.tcl:
* tools/tcltk-man2html.tcl:
* unix/mkLinks.tcl:
FossilOrigin-Name: 1906022d3bda41ab533947afd222448872210245
Diffstat (limited to 'tools')
-rw-r--r-- | tools/genStubs.tcl | 6 | ||||
-rwxr-xr-x | tools/tcltk-man2html.tcl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl index 8a10cba..9911fd2 100644 --- a/tools/genStubs.tcl +++ b/tools/genStubs.tcl @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: genStubs.tcl,v 1.13 2002/10/04 08:25:14 dkf Exp $ +# RCS: @(#) $Id: genStubs.tcl,v 1.14 2003/03/19 21:58:01 dgp Exp $ package require Tcl 8 @@ -184,7 +184,7 @@ proc genStubs::rewriteFile {file text} { while {![eof $in]} { set line [gets $in] - if {[regexp {!BEGIN!} $line]} { + if {[string match "*!BEGIN!*" $line]} { break } puts $out $line @@ -193,7 +193,7 @@ proc genStubs::rewriteFile {file text} { puts $out $text while {![eof $in]} { set line [gets $in] - if {[regexp {!END!} $line]} { + if {[string match "*!END!*" $line]} { break } } diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl index 42f0e58..221dc63 100755 --- a/tools/tcltk-man2html.tcl +++ b/tools/tcltk-man2html.tcl @@ -1572,7 +1572,7 @@ proc make-man-pages {html args} { } puts $afp "</H2><HR><DL>" foreach k $keys { - if {[regexp -nocase -- "^keyword-$a" $k]} { + if {[string match -nocase "keyword-${a}*" $k]} { set k [string range $k 8 end] puts $afp "<DT><A NAME=\"$k\">$k</A><DD>" set refs {} |