|
Revision 297, 0.7 kB
(checked in by gary, 3 years ago)
|
|
NA break mole_co_step into two pieces, _1 and _2, to speed up compilation
remove mole_co_step
NA add N2H+ to chemistry
iter_startend better doc of problem with stop line command
some test cases had changes in SiO and H3+ as a result - botch but not big botch
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | use File::Copy; |
|---|
| 5 | $input = "date.h"; |
|---|
| 6 | $working = "working.txt"; |
|---|
| 7 | |
|---|
| 8 | copy $input , $working ; |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = |
|---|
| 13 | gmtime(time); |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | $old = "YEARRR"; |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | system( "sed -es/\"YEARRR\"/$year/ < $input > year.txt ") ; |
|---|
| 23 | system( "sed -es/\"MONTHHH\"/$mon/ < year.txt > month.txt ") ; |
|---|
| 24 | system( "sed -es/\"DAYYY\"/$mday/ < month.txt > day.txt ") ; |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | copy "day.txt" , "../source_hot/date.h"; |
|---|
| 28 | |
|---|
| 29 | unlink 'year.txt' , 'month.txt' , 'day.txt' , 'working.txt' ; |
|---|
| 30 | |
|---|
| 31 | |
|---|