9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.14 2000/10/17 08:36:56 peterg
## Included logic rep.
##
## Revision 1.13 2000/10/15 09:27:13 peterg
## Better way of generating $infofile
##
## Revision 1.12 2000/10/14 16:11:00 peterg
|
>
>
>
|
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.15 2000/10/17 09:53:05 peterg
## More on logic rep
##
## Revision 1.14 2000/10/17 08:36:56 peterg
## Included logic rep.
##
## Revision 1.13 2000/10/15 09:27:13 peterg
## Better way of generating $infofile
##
## Revision 1.12 2000/10/14 16:11:00 peterg
|
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
numpar)
lang=txt
textfile=$1_$2.$lang
infofile=$1_sympar.$lang
moreinfofile=$infofile
default='1.0'
;;
state|input)
lang=txt
textfile=$1_$2.$lang
infofile=mtt_list.$lang
moreinfofile=mtt_list_numpar.$lang
awk '{if ($1==rep) printf("%s\n", $4)}' rep=$2 \
<$1_struc.txt >$infofile
cat $infofile $1_sympar.$lang> $moreinfofile
|
|
>
>
>
>
>
>
>
>
>
>
|
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
numpar)
lang=txt
textfile=$1_$2.$lang
infofile=$1_sympar.$lang
moreinfofile=$infofile
default='1.0'
;;
input)
lang=txt
textfile=$1_$2.$lang
infofile=mtt_list.$lang
moreinfofile=mtt_list_numpar.$lang
awk '{if ($1==rep) printf("%s\n", $4)}' rep=$2 \
<$1_struc.txt >$infofile
cat $infofile $1_sympar.$lang> $moreinfofile
default='1.0'
;;
state)
lang=txt
textfile=$1_$2.$lang
infofile=mtt_list.$lang
moreinfofile=mtt_list_numpar.$lang
awk '{if ($1==rep) printf("%s\n", $4)}' rep=$2 \
<$1_struc.txt >$infofile
cat $infofile $1_sympar.$lang> $moreinfofile
|