10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 2000/11/27 15:11:15 peterg
## Initial revision
##
## Revision 1.7 1997/12/06 16:20:37 peterg
## Added another argument - the label
##
## Revision 1.6 1997/12/06 15:49:35 peterg
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2 2000/11/27 17:45:00 peterg
## Removed "System" from heading
##
## Revision 1.1 2000/11/27 15:11:15 peterg
## Initial revision
##
## Revision 1.7 1997/12/06 16:20:37 peterg
## Added another argument - the label
##
## Revision 1.6 1997/12/06 15:49:35 peterg
|
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
###############################################################
#Look for a command line argument
while [ -n "`echo $1 | grep '^-'`" ]; do
case $1 in
-pdf ) pdf='-pdf'
;;
*)
echo "$1 is an invalid argument - ignoring" ;;
esac
shift
done
|
>
>
|
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
###############################################################
#Look for a command line argument
while [ -n "`echo $1 | grep '^-'`" ]; do
case $1 in
-pdf ) pdf='-pdf'
;;
-s ) sensitivity='-s'
;;
*)
echo "$1 is an invalid argument - ignoring" ;;
esac
shift
done
|
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
%% Subsystem $1
\subsection{\textbf{$1}}
\label{sec:$1}
\index{\textbf{$1} -- abg}
EOF
else
mtt -q -u $1 abg m # Make sure all the subsystems exist -- nasty kludge
cat<<EOF > $filename
% abg report for system $1 ($filename)
% Generated by MTT at `date`
EOF
fi
# Figure
|
|
|
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
%% Subsystem $1
\subsection{\textbf{$1}}
\label{sec:$1}
\index{\textbf{$1} -- abg}
EOF
else
mtt -q -u ${sensitivity} $1 abg m # Make sure all the subsystems exist -- nasty kludge
cat<<EOF > $filename
% abg report for system $1 ($filename)
% Generated by MTT at `date`
EOF
fi
# Figure
|