Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e053323e1ea65dee57c366a91bf23211607801a562eb1fc31690de1ee93fd185
User & Date: gawthrop@users.sourceforge.net on 1997-03-18 17:28:45
Other Links: branch diff | manifest | tags
Context
1997-03-18
17:56:35
Cosmetic changes. check-in: 60b9cd93c1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:28:45
Initial revision check-in: e053323e1e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:25:24
Now just generates names - formatting removed. check-in: ffc0f4d871 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/sympar_txt2r version [299a1fa6e1].





























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: sympar_txt2r

# Label file to symbolic parameters conversion
# P.J.Gawthrop August 1996
# Copyright (c) P.J.Gawthrop, 1996.


# 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

# This is the main transformation using gawk
tr ';' ',' <  $1_lbl.txt | \
gawk -f $MTTPATH/trans/awk/sympar.awk | sort >> $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 ]