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.1 1997/03/20 14:52:41 peterg
# Initial revision
#
###############################################################
|
>
>
>
|
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.2 1997/03/20 15:14:25 peterg
# Lower case conversion.
#
# Revision 1.1 1997/03/20 14:52:41 peterg
# Initial revision
#
###############################################################
|
32
33
34
35
36
37
38
39
40
41
42
43
44
|
echo "Symbolic parameter file ($1_sympar.h)" >> $1_sympar.h
echo "Generated by MTT at `date`" >> $1_sympar.h
echo '*/' >> $1_sympar.h
echo >> $1_sympar.h
#Write out the variables in c format.
awk '{i++; print "double", tolower($1) ";"}' $1_sympar.txt >> $1_sympar.h
# Now invoke the standard error handling.
# mtt_error mtt_error.txt
|
|
|
35
36
37
38
39
40
41
42
43
44
45
46
47
|
echo "Symbolic parameter file ($1_sympar.h)" >> $1_sympar.h
echo "Generated by MTT at `date`" >> $1_sympar.h
echo '*/' >> $1_sympar.h
echo >> $1_sympar.h
#Write out the variables in c format.
awk '{i++; print "float", tolower($1) ";"}' $1_sympar.txt >> $1_sympar.h
# Now invoke the standard error handling.
# mtt_error mtt_error.txt
|