Changeset 89
- Timestamp:
- Dec 4, 2009 5:00:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expgui
- Property rcs:date changed from 1999/04/08 20:43:10 to 1999/07/21 15:12:53
- Property rcs:lines changed from +2 -1 to +4 -4
- Property rcs:rev changed from 1.14 to 1.15
r82 r89 474 474 if ![file executable [file join $expgui(scriptdir) pkzip.exe]] { 475 475 # archive w/o pkzip 476 set files [glob -nocomplain ${expnam}!*. exp]476 set files [glob -nocomplain ${expnam}!*.EXP] 477 477 if {$files == ""} { 478 478 set num -1 479 479 } else { 480 480 set file [lindex [lsort -decreasing $files] 0] 481 regexp {! ([0-9]+)\.EXP} [string toupper $file] a num481 regexp {!0*([0-9]+)\.EXP} [string toupper $file] a num 482 482 } 483 483 set file $expnam![format "%3.3d" [incr num]].EXP
Note: See TracChangeset
for help on using the changeset viewer.