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.9 2000/10/13 09:55:09 peterg
## Changed state/input name to $4_$3
##
## Revision 1.8 2000/10/13 09:28:16 peterg
## Changed regexp to /\(.*$old.*=\)/
##
## Revision 1.7 2000/10/13 08:56:51 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.10 2000/10/13 10:56:07 peterg
## Now uses the full name from the struc file - no need to recreate.
##
## Revision 1.9 2000/10/13 09:55:09 peterg
## Changed state/input name to $4_$3
##
## Revision 1.8 2000/10/13 09:28:16 peterg
## Changed regexp to /\(.*$old.*=\)/
##
## Revision 1.7 2000/10/13 08:56:51 peterg
|
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
exit
esac
if [ -f "$textfile" ]; then
# Inform User
echo Checking $textfile
else
sympar2numpar_txt2txt $1
exit
fi
# Remove tmp files
rm -f mtt_in_text mtt_in_info
# Strip files
|
>
>
|
>
>
>
>
>
>
>
>
>
>
|
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
exit
esac
if [ -f "$textfile" ]; then
# Inform User
echo Checking $textfile
else
case $rep in
numpar)
sympar2numpar_txt2txt $1
;;
state)
struc2state_txt2txt $1
;;
input)
struc2input_txt2txt $1
;;
*)
esac
exit
fi
# Remove tmp files
rm -f mtt_in_text mtt_in_info
# Strip files
|