Overview
Comment:Use new mtt_header
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 0e31cd627cb09f33f987845f725160daca9299402996d786f56695dc0a82275c
User & Date: gawthrop@users.sourceforge.net on 2000-10-14 08:50:07
Other Links: branch diff | manifest | tags
Context
2000-10-14
09:12:14
No dies arguments and output itself check-in: eca4e58f7a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:50:07
Use new mtt_header check-in: 0e31cd627c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:04:40
Changed arguments to _inout for consistency check-in: 36aa713d93 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_r2m from [33d2b02988] to [dde7b80ddb].

14
15
16
17
18
19
20




21
22
23
24
25
26
27
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31







+
+
+
+







# Copyright (C) 2000 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.24  2000/10/11 09:07:53  peterg
## Vectorisation
## csex rep.
##
## Revision 1.23  2000/10/10 21:00:43  peterg
## More reps added
##
## Revision 1.22  2000/09/15 08:27:07  peterg
## Removed debugging lines
##
## Revision 1.21  2000/08/30 11:43:40  peterg
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142

143
144
145
146
147
148
149
150


151
152
153
154
155
156
157
124
125
126
127
128
129
130
















131
132

133



134
135
136
137
138
139
140
141
142
143
144







-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+

-

-
-
-


+
+







echo Creating $out

# Remove the old log file
rm -f mtt_r2m.log

#Header
case $rep in
    cse)
    mtt_header  $1 $rep $ext 'mttx,mttu,mttt,mttpar' 'mttedx,mtte' > mtt_junk
       ;;
    csex)
    mtt_header  $1 $rep $ext 'mttx,mttu,mttt,mttpar' 'mttedx' > mtt_junk
    vectorise=yes
       ;;
    cseo)
    mtt_header  $1 $rep $ext 'mttx,mttu,mttt,mttpar' mtty > mtt_junk
    vectorise=yes
       ;;
    ode)
    mtt_header  $1 $rep $ext 'mttx,mttu,mttt,mttpar' mttdx > mtt_junk
    vectorise=yes
       ;;
    odeo)
    csex|cseo|ode|odeo)
    vectorise=yes
    mtt_header  $1 $rep $ext 'mttx,mttu,mttt,mttpar' mtty > mtt_junk
       ;;
    sm)
    mtt_header  $1 $rep $ext mttpar 'mtta,mttb,mttc,mttd' > mtt_junk
       ;;
    *)
esac

    mtt_header  $1 $rep $ext  > mtt_junk

#Convert from the (optimised) r file
echo >> mtt_junk
echo '## Code' >> mtt_junk
grep 'mtt'  $1_$2.r |\
sed \
    -e "s/^mtt/  mtt/" \


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