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.8 2000/10/13 09:28:16 peterg
## Changed regexp to /\(.*$old.*=\)/
##
## Revision 1.7 2000/10/13 08:56:51 peterg
## Output variables as column, not row.
##
## Revision 1.6 2000/10/13 08:07:24 peterg
## Added state and input - it checks against sympar as well so that
## defined variables may be used here.
##
|
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
-
+
|
;;
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_%s_%s\n", $4, $5, $3)}' \
awk '{printf("%s_%s\n", $4,$3)}' \
> $infofile
cat $infofile $1_sympar.$ext> $moreinfofile
default='0.0'
;;
*)
echo Representation $rep not implemented
exit
|