Overview
Comment:Better way of generating mtt_infile
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: dd927efc2042e61667e0152112a423105692fcfabbbfd267dbf3435a462e62fa
User & Date: gawthrop@users.sourceforge.net on 2000-10-15 09:24:25
Other Links: branch diff | manifest | tags
Context
2000-10-15
09:27:13
Better way of generating $infofile check-in: 5715df0191 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:24:25
Better way of generating mtt_infile check-in: dd927efc20 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-10-14
16:19:54
Just optimize one line at a time ... check-in: 2edcbe75d0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_name2array from [10d4804e06] to [6eeef7468b].

13
14
15
16
17
18
19

20
21
22
23
24
25

26
27
28
29
30
31
32
33
34
35
case $2 in
    numpar)
        name=mttpar
	cat $1_sympar.txt>mtt_infile
	;;
    state)
        name=mttx

        cat $1_struc.txt |\
        grep $2 |\
	awk '{printf("%s\n", $4)}'>mtt_infile
	;;
    input)
        name=mttu

        cat $1_struc.txt |\
        grep $2 |\
	awk '{printf("%s\n", $4)}'>mtt_infile
	;;
    *)
	echo Repesentation $2 not supported
esac

case $3 in
    zero)







>
|
<
<



>
|
<
<







13
14
15
16
17
18
19
20
21


22
23
24
25
26


27
28
29
30
31
32
33
case $2 in
    numpar)
        name=mttpar
	cat $1_sympar.txt>mtt_infile
	;;
    state)
        name=mttx
	awk '{if ($1==rep) printf("%s\n", $4)}' rep=$2 \
        <$1_struc.txt >mtt_infile


	;;
    input)
        name=mttu
	awk '{if ($1==rep) printf("%s\n", $4)}' rep=$2 \
        <$1_struc.txt >mtt_infile


	;;
    *)
	echo Repesentation $2 not supported
esac

case $3 in
    zero)


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