11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
+
+
+
+
|
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$
# %% Revision 1.8 1998/07/30 12:52:38 peterg
# %% Adds ; to end of statements
# %% Translates ' to " before removal
# %%
# %% Revision 1.7 1998/07/30 09:32:33 peterg
# %% Replaces:
# %% euler by 1
# %% implicitl by 1
# %% implicit by 3
# %%
# %% Revision 1.6 1998/07/27 18:59:11 peterg
|
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
-
+
|
else
statement = $1;
if (NF<2) print statement
if (NF>1) print statement " # " $2
}' | sed\
-e 's/\[\([0-9]*\)\]/(\1)/g' \
-e 's/\([^a-zA-Z]\)t\([^a-zA-Z]\)/\1mttt\2/g' \
-e 's/\([^a-zA-Z_]\)t\([^a-zA-Z_]\)/\1mttt\2/g' \
-e 's/LAST/mttLAST/g' \
-e 's/DT/mttDT/g' \
-e 's/STEPFACTOR/mttSTEPFACTOR/g' \
-e 's/METHOD/mttMETHOD/g' \
-e 's/WMIN/mttWMIN/g' \
-e 's/WMAX/mttWMAX/g' \
-e 's/WSTEPS/mttWSTEPS/g' \
|