11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
+
+
+
-
-
+
+
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.3 1996/11/03 21:11:44 peterg
# Removed END; statement
#
## Revision 1.2 1996/11/02 10:20:53 peterg
## Created from lbl2sympar
##
###############################################################
# Inform user
echo "Creating $1_cr.r"
rm -f mtt_error
#Write some file headers
echo "%% constitutive relationship file ($1_cr.r)" > $1_cr.r
echo "%% Generated by MTT at `date`" >> $1_cr.r
# This is the main transformation using gawk
gawk -f $MTTPATH/trans/awk/lbl2cr.awk <$1_lbl.txt 2>mtt_error.txt | \
# This is the main transformation using awk
awk -f $MTTPATH/trans/awk/lbl2cr.awk <$1_lbl.txt 2>mtt_error.txt | \
sh >> $1_cr.r
# Now invoke the standard error handling.
#mtt_error mtt_error.txt
|