Overview
Comment:# is now used as the comment symbol
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: de134007b5d1beba14efa6d8cd778cc9507e0427f282aa35ebc51e4883736f0a
User & Date: gawthrop@users.sourceforge.net on 1997-05-01 08:19:04
Other Links: branch diff | manifest | tags
Context
1997-05-01
08:24:38
Now uses # as the comment symbol in the .txt file check-in: edcac330db user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:19:04
# is now used as the comment symbol check-in: de134007b5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
07:45:17
Initial revision check-in: eef8ca6565 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sympar2numpar_txt2txt from [662fbab5f7] to [5bb25f1688].

10
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
10
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







+
+
+







-
-
-
+
+
+


-
+






# Copyright (c) P.J.Gawthrop 1996

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.1  1997/05/01  07:35:48  peterg
# Initial revision
#
###############################################################


# Inform user
echo Creating $1_numpar.txt

#Create the numpar file complete with headers.
echo "%% Numerical parameter file ($1_numpar.txt)" > $1_numpar.txt
echo "%% Generated by MTT at `date`" >> $1_numpar.txt
cat $MTTPATH/trans/m/rcs_header.txt  >> $1_numpar.txt
echo "# Numerical parameter file ($1_numpar.txt)" > $1_numpar.txt
echo "# Generated by MTT at `date`" >> $1_numpar.txt
cat $MTTPATH/trans/rcs_header.txt  >> $1_numpar.txt

#Write out the variables in c format.
awk '{i++; print tolower($1) " = \t1.0; \% Default value"}' $1_sympar.txt \
awk '{i++; print tolower($1) " = \t1.0; \# Default value"}' $1_sympar.txt \
>> $1_numpar.txt






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