11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2 1998/01/19 14:17:26 peterg
## Modified struc_txt2tex to make this.
##
## Revision 1.1 1998/01/19 14:16:39 peterg
## Initial revision
##
# Revision 1.3 1997/12/06 19:10:41 peterg
|
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 2000/12/27 16:04:46 peterg
## Initial revision
##
## Revision 1.2 1998/01/19 14:17:26 peterg
## Modified struc_txt2tex to make this.
##
## Revision 1.1 1998/01/19 14:16:39 peterg
## Initial revision
##
# Revision 1.3 1997/12/06 19:10:41 peterg
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
rm -f mtt_error
#Write some file headers
echo "%% Parameter file ($1_sympar.txt)" > $1_sympar.tex
echo "%% Generated by MTT at `date`" >> $1_sympar.tex
# This is the main transformation using awk
sed 's/_/\\_/g' < $1_sympar.txt | awk '
#function header(what){
# print " \\centering";
# print " \\tablefirsthead{\\hline %";
# print " \\multicolumn{4}{|c|}{\\bf List of " what "s for system " SYSTEM "} \\\\";
# print " \\hline";
# print " & Component & System & Repetition \\\\";
# print " \\hline}";
|
|
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
rm -f mtt_error
#Write some file headers
echo "%% Parameter file ($1_sympar.txt)" > $1_sympar.tex
echo "%% Generated by MTT at `date`" >> $1_sympar.tex
# This is the main transformation using awk
sed 's/_/\\_/g' < $1_sympar.txt | gawk '
#function header(what){
# print " \\centering";
# print " \\tablefirsthead{\\hline %";
# print " \\multicolumn{4}{|c|}{\\bf List of " what "s for system " SYSTEM "} \\\\";
# print " \\hline";
# print " & Component & System & Repetition \\\\";
# print " \\hline}";
|