Overview
Comment:Lower case conversion.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 58cf27e86b1ca6b2d05ed2777af6ec5bd4df3b7e796630af91a9eed2dcc0be5c
User & Date: gawthrop@users.sourceforge.net on 1997-03-20 15:14:25
Other Links: branch diff | manifest | tags
Context
1997-03-20
15:17:45
All variables are in lower case. check-in: 600d128f3b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:14:25
Lower case conversion. check-in: 58cf27e86b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:52:41
Initial revision check-in: 5eca2f682d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sympar_txt2h from [db11af1c84] to [275bc807b7].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



###############################################################



# Inform user
echo "Creating $1_sympar.h"

rm -f mtt_error

#Write some file headers
echo '/*' > $1_sympar.h
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", $1 ";"}' $1_sympar.txt  >> $1_sympar.h

# Now invoke the standard error handling.
# mtt_error mtt_error.txt









>
>
>


















|





11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.1  1997/03/20  14:52:41  peterg
# Initial revision
#
###############################################################



# Inform user
echo "Creating $1_sympar.h"

rm -f mtt_error

#Write some file headers
echo '/*' > $1_sympar.h
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



MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]