Overview
Comment:No change
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 8732ff00146ffd1145191113d19a380dcd6862fd12f250bfd2e97ead501790d1
User & Date: gawthrop@users.sourceforge.net on 1998-07-17 19:46:56
Other Links: branch diff | manifest | tags
Context
1998-07-17
19:47:35
Minor changes check-in: 7ecadabf89 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
19:46:56
No change check-in: 8732ff0014 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
19:46:44
Included component alias. check-in: d25a7dca7a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/lbl2alias_txt2txt from [7e51d01494] to [a972903b94].

10
11
12
13
14
15
16



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







+
+
+







# Copyright (c) P.J.Gawthrop 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.5  1998/07/17 16:31:37  peterg
## Ignore component aliases (with /)
##
## Revision 1.4  1998/07/03 15:21:26  peterg
## Replace sub by gsub -- need to replace ALL ,
##
## Revision 1.3  1998/07/03 13:49:03  peterg
## Flips the order of alias and name when $ is involved.
##
## Revision 1.2  1998/07/03 07:54:39  peterg
40
41
42
43
44
45
46
47

48
49
50
51
52
53
54
43
44
45
46
47
48
49

50
51
52
53
54
55
56
57







-
+







#Create the alias file complete with headers.
echo "# Alias file ($1_alias.txt)" > $1_alias.txt
echo "# Generated by MTT at `date`" >> $1_alias.txt

#Write out the variables 
    grep '[%|#]ALIAS' $1_lbl.txt |\
    awk '{
      if (match($2,"/")==0){
      if (match($3,"/")==0){
        if (match($2,"\\$")==0){
          alias=$2; name =$3
        }
        else{
          alias=$3; name =$2
        }
        gsub(",","__",alias); #Replace ,


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