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)
|