10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################
# Inform user
echo Creating $1_lbl.tex
#Create the alias file complete with headers.
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (c) P.J.Gawthrop 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 1998/07/16 16:31:47 peterg
## Initial revision
##
###############################################################
# Inform user
echo Creating $1_lbl.tex
#Create the alias file complete with headers.
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
grep '[%|#]DESCRIPTION' $1_lbl.txt | sed 's/_/\\_/g' |\
awk '{
for (i=2;i<=NF;i++) print $i " ";
}' >> $1_lbl.tex
#Write out the aliases
cat <<EOF >> $1_lbl.tex
\begin{description}
EOF
grep '[%|#]ALIAS' $1_lbl.txt | sed 's/_/\\_/g' |\
awk '{
if (match($2,"\\$")>0){
print "\\item [Parameter \\" $2 "] represents " $3
}
|
>
|
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
grep '[%|#]DESCRIPTION' $1_lbl.txt | sed 's/_/\\_/g' |\
awk '{
for (i=2;i<=NF;i++) print $i " ";
}' >> $1_lbl.tex
#Write out the aliases
cat <<EOF >> $1_lbl.tex
\paragraph{Interface information}
\begin{description}
EOF
grep '[%|#]ALIAS' $1_lbl.txt | sed 's/_/\\_/g' |\
awk '{
if (match($2,"\\$")>0){
print "\\item [Parameter \\" $2 "] represents " $3
}
|