Overview
Comment:Puts mttu1 --> mttu(1) etc.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 69270d7f2b9fa826c0a518e77372b5df7af96d836e7c608a06ec5ed215c4b9a4
User & Date: gawthrop@users.sourceforge.net on 1998-08-13 12:37:45
Other Links: branch diff | manifest | tags
Context
1998-08-13
12:43:19
Cahnged tmp variable to mtt_1 etc check-in: 648535a8c7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
12:37:45
Puts mttu1 --> mttu(1) etc. check-in: 69270d7f2b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:03:35
*** empty log message *** check-in: a6fb222402 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_p2m from [bf57433f38] to [09a0ccbaff].

1
2
3
4
5
6

7
8
9
10
11
12
13
#! /bin/sh

sed 's/begin//' |\
sed 's/end//' |\
sed 's/\[\([0-9,]*\)\]/(\1)/g' |\
sed 's/:=/ = /' |\

awk '{
  sub(/^[\ ]*/, "", $0)
  sub(/\$$/, ";", $0)
  
  if (match($NF,"[;\#\.]$")==0){
    Previous[++i] = $0
  }






>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

sed 's/begin//' |\
sed 's/end//' |\
sed 's/\[\([0-9,]*\)\]/(\1)/g' |\
sed 's/:=/ = /' |\
sed 's/mtt\([a-z]*\)\([0-9]\)\([0-9]*\)/mtt\1(\2\3)/g' |\
awk '{
  sub(/^[\ ]*/, "", $0)
  sub(/\$$/, ";", $0)
  
  if (match($NF,"[;\#\.]$")==0){
    Previous[++i] = $0
  }


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