Overview
Comment:Changed label to MTT_SWITCH
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 4f3deeee40605358c07e99d090ee893cb07d6cd87a4efa1c0ccdf70c32990a73
User & Date: gawthrop@users.sourceforge.net on 1997-06-03 15:17:09
Other Links: branch diff | manifest | tags
Context
1997-06-13
08:59:03
Set to version 2.4 check-in: e5855c0a05 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1997-06-03
15:17:09
Changed label to MTT_SWITCH check-in: 4f3deeee40 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1997-05-22
11:12:34
Chaged figure label. check-in: 30b993f4c4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/struc2switch_txt from [2f52f4dda1] to [5db69bad41].

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







+
+
+











-
+
+
+



-
-
+







# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.1  1997/05/13  16:58:59  peterg
# Initial revision
#
###############################################################




echo Creating  $1_switch.txt

rm -f $1_switch.txt
# This is the main transformation using gawk
gawk '
{ 
   if ($1=="state") {i++; if ($3=="MTT_Switch")  print $4};
   if ($1=="state") {i++; if ($3=="MTT_SWITCH")  print $4};
}
END{
}
' < $1_struc.txt| sort >> $1_switch.txt

echo Creating  $1_switch.eh

wc -l $1_switch.txt | awk '{print $1 " switches found"}'








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