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: 13fa9fd0e6da1030e0dd77b984ebbe0ee6af5a39a91be5833743b85cfc0dcf8e
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: 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
2000-10-14
16:19:54
Just optimize one line at a time ... check-in: 44b8410065 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 ]