Overview
Comment:Added headers to sympar file.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 34c2cb4fec6ba2301fb8292263ce77ade26cbdc072764b1c47e19265d0e2a73a
User & Date: gawthrop@users.sourceforge.net on 1996-08-30 19:01:21
Other Links: branch diff | manifest | tags
Context
1996-08-30
19:03:10
Added argument check.
Added extra name argument.
check-in: 8e300a27ec user: gawthrop@users.sourceforge.net tags: origin/master, trunk
19:01:21
Added headers to sympar file. check-in: 34c2cb4fec user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:45:32
Removed header stuff. check-in: b0ecb47dad user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/lbl2sympar_txt2r from [4b23d92900] to [64b8a85eab].

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
# Copyright (c) P.J.Gawthrop, 1996.

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



## Revision 1.2  1996/08/30 10:04:20  peter
## Included `;' in demimiter list.
##
# Revision 1.1  1996/08/24  13:34:09  peter
# Initial revision
#
###############################################################


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

rm -f mtt_error





# This is the main transformation using gawk
tr ';' ',' <  $1_lbl.txt | \
gawk -f $MTTPATH/trans/awk/lbl2sympar.awk  > $1_sympar.r 2>mtt_error.txt

# 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
45
46
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.3  1996/08/30 10:18:33  peter
## New path for awk script.
##
## Revision 1.2  1996/08/30 10:04:20  peter
## Included `;' in demimiter list.
##
# Revision 1.1  1996/08/24  13:34:09  peter
# Initial revision
#
###############################################################


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

rm -f mtt_error

#Write some file headers
echo "%% Symbolic parameter file ($1_sympar.r)" > $1_sympar.r
echo "%% Generated by MTT at `date`" >> $1_sympar.r
cat $MTTPATH/trans/m/rcs_header.txt  >> $1_sympar.r
# This is the main transformation using gawk
tr ';' ',' <  $1_lbl.txt | \
gawk -f $MTTPATH/trans/awk/lbl2sympar.awk  >> $1_sympar.r 2>mtt_error.txt

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



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