Overview
Comment:Added NOPAR words to unwanted list.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: c6d64691324a2b3b4be3cb8faf08729975d0096789e9799e60f2a3a6b97f8ab1
User & Date: gawthrop@users.sourceforge.net on 2000-11-02 18:53:46
Other Links: branch diff | manifest | tags
Context
2000-11-03
10:43:10
Initial revision check-in: da5654265f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-11-02
18:53:46
Added NOPAR words to unwanted list. check-in: c6d6469132 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:53:28
Put in dimension sanity tests check-in: f7b15fc4e1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_make_sympar from [6c0fdb6743] to [ec19dbb25f].

9
10
11
12
13
14
15



16
17
18
19
20
21
22
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25







+
+
+







# Copyright (C) 2000 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.3  2000/10/16 09:41:29  peterg
## Fixed bug with printing a blank line.
##
## Revision 1.2  2000/10/16 09:10:08  peterg
## Now strips out "unwanted" bits frome the _aliased.txt file
##
## Revision 1.1  2000/10/12 19:24:28  peterg
## Initial revision
##
##
32
33
34
35
36
37
38








39
40

41
42
43
44
45
46
47
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

51
52
53
54
55
56
57
58







+
+
+
+
+
+
+
+

-
+







sh $1_type.sh 'echo ' ' ' ' ' |\
awk '{print "abg2sympar_m2txt " $1, $2}' |\
sh | sort -u > mtt_all_sympar.txt

# Sort the aliased list
mtt_strip_args < $1_aliased.txt | sort -u  > mtt_aliased_sort.txt

# Create list of unwanted stuff
cat  mtt_aliased_sort.txt> mtt_unwanted.txt

notvar="[%|#]NOT[VAR|PAR]";
grep $notvar $1_lbl.txt | awk '{printf("%s\t%s\n", $2,sys)'} sys=$1 >>mtt_unwanted.txt

sort -u mtt_unwanted.txt > mtt_unwanted_sort.txt

# Compare it with the aliased list and show the differences
diff mtt_all_sympar.txt mtt_aliased_sort.txt |\
diff mtt_all_sympar.txt mtt_unwanted_sort.txt |\
awk '{if ($1=="<") printf("%s\t%s\n", $2,$3)}' > mtt_sympar.txt

# Assume same name in different system is the same
awk '{
    if ($1==name){
	sysname[i++]=$2
    }


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