10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Hacked from (now redundent) abg2lbl_txt
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
##
## Old log from abg2lbl_fig2txt
## Revision 1.28 2002/10/30 00:04:22 gawthrop
## Added AEf and AFe to list
##
## Revision 1.27 2002/05/10 09:08:55 gawthrop
## Added EMTF and INTF
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Hacked from (now redundent) abg2lbl_txt
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 2002/12/01 14:54:52 gawthrop
## Replaces defunct abg2lbl_fig2txt
##
##
## Old log from abg2lbl_fig2txt
## Revision 1.28 2002/10/30 00:04:22 gawthrop
## Added AEf and AFe to list
##
## Revision 1.27 2002/05/10 09:08:55 gawthrop
## Added EMTF and INTF
|
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
}
create_lbl_body()
{
#Write out the outline lbl file
grep -v '\[[0-9]*\]' $1_cmp.txt | \
gawk --field-separator ':' '
BEGIN {
OldComponent="None";
default_cr = "lin";
}
{
Component = $1;
|
|
|
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
|
}
create_lbl_body()
{
#Write out the outline lbl file
strip_comments <$1_cmp.txt | grep -v '\[[0-9]*\]' | \
gawk --field-separator ':' '
BEGIN {
OldComponent="None";
default_cr = "lin";
}
{
Component = $1;
|
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
|
mv $1_lbl.txt mtt_junk_lbl.txt
write_header > ${outfile}
cat mtt_junk_alias.txt >> ${outfile}
cat mtt_args.txt >> ${outfile}
write_blurb >> ${outfile}
cat mtt_junk_lbl.txt >> ${outfile}
## Put a blank line at end
cat >> ${outfile} <<EOF
EOF
## Clean up
rm -f mtt_junk*
|
>
|
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
|
mv $1_lbl.txt mtt_junk_lbl.txt
write_header > ${outfile}
cat mtt_junk_alias.txt >> ${outfile}
cat mtt_args.txt >> ${outfile}
write_blurb >> ${outfile}
cat mtt_junk_lbl.txt >> ${outfile}
## Put a blank line at end
cat >> ${outfile} <<EOF
EOF
## Clean up
rm -f mtt_junk*
|