11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2 2001/03/19 02:28:52 geraint
## Branch merge: merging-ode2odes-exe back to MAIN.
##
## Revision 1.1.2.1 2001/03/06 03:52:15 geraint
## Put back struc_txt2m - required by mtt2sys.
##
###############################################################
|
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.3 2001/10/15 14:20:27 gawthrop
## Now handles the cases where ny or nx or nu are zero
##
## Revision 1.2 2001/03/19 02:28:52 geraint
## Branch merge: merging-ode2odes-exe back to MAIN.
##
## Revision 1.1.2.1 2001/03/06 03:52:15 geraint
## Put back struc_txt2m - required by mtt2sys.
##
###############################################################
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
output_name = "";
state_name = "";
EOF
# This is the main transformation using awk
awk '
function header(what){
print what "_name = [";
}
function footer(what){
print "];";
}
|
|
|
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
output_name = "";
state_name = "";
EOF
# This is the main transformation using awk
gawk '
function header(what){
print what "_name = [";
}
function footer(what){
print "];";
}
|