Overview
Comment:Better way of generating $infofile
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e6a1d0c9b164da55ab9d0e50fea7317318e8ff324285045be7b140be770122b5
User & Date: gawthrop@users.sourceforge.net on 2000-10-15 09:27:13
Other Links: branch diff | manifest | tags
Context
2000-10-15
09:30:31
*** empty log message *** check-in: dd7473c983 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:27:13
Better way of generating $infofile check-in: e6a1d0c9b1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:24:25
Better way of generating mtt_infile check-in: 13fa9fd0e6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_update from [dc3a7ebc4e] to [6d04774928].

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.12  2000/10/14 16:11:00  peterg
## Made all variables, states etc lower case
##
## Revision 1.11  2000/10/13 11:07:00  peterg
## Added initialisation for state and input
##
## Revision 1.10  2000/10/13 10:56:07  peterg
## Now uses the full name from the struc file - no need to recreate.
##
## Revision 1.9  2000/10/13 09:55:09  peterg
72
73
74
75
76
77
78
79
80
81


82
83
84
85
86
87
88
75
76
77
78
79
80
81



82
83
84
85
86
87
88
89
90







-
-
-
+
+







	    default='1.0'
	;;
    state|input)
	    ext=txt
	    textfile=$1_$2.$ext
	    infofile=mtt_list.$ext
	    moreinfofile=mtt_list_numpar.$ext
	    grep "$rep" <$1_struc.txt |\
	    awk '{printf("%s\n", $4)}' \
             > $infofile 
            awk '{if ($1==rep) printf("%s\n", $4)}' rep=$2 \
            <$1_struc.txt >$infofile
	    cat $infofile $1_sympar.$ext> $moreinfofile  
	    default='0.0'
	;;
    *)
	    echo Representation $rep not implemented
	    exit
esac


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