equal
deleted
inserted
replaced
150 open TMPR,$tmpfile or die "Can't find tmp file $tmp: $!\n"; |
150 open TMPR,$tmpfile or die "Can't find tmp file $tmp: $!\n"; |
151 while(<TMPR>) { |
151 while(<TMPR>) { |
152 s/@@(\d+)@@/$thmnames[$1]/eg; |
152 s/@@(\d+)@@/$thmnames[$1]/eg; |
153 print TMPW $_; |
153 print TMPW $_; |
154 } |
154 } |
155 system("mv $currfile $currfile.~0~"); |
155 system("mv $currfile $currfile~0~"); |
156 system("rm $tmpfile"); |
156 system("rm $tmpfile"); |
157 } |
157 } |
158 } |
158 } |
159 |
159 |
160 sub done { |
160 sub done { |