10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop 1996
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.7 1998/03/22 20:21:11 peterg
## $topic now converted to lower case.
##
## Revision 1.6 1997/09/04 09:35:04 peterg
## Changed $ext to give accurate match -- matches t ot m at end of
## filename
##
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (c) P.J.Gawthrop 1996
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.8 1998/03/22 21:13:17 peterg
## Fixed bug in above
##
## Revision 1.7 1998/03/22 20:21:11 peterg
## $topic now converted to lower case.
##
## Revision 1.6 1997/09/04 09:35:04 peterg
## Changed $ext to give accurate match -- matches t ot m at end of
## filename
##
|
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#
## Revision 1.1 1996/11/01 12:34:54 peterg
## Initial revision
##
###############################################################
topic=`echo $1 | tr [A-Z] [a-z]`
if [ "$topic" = "" ]; then
echo 'Usage: mtt help representations'
echo ' mtt help components'
echo ' mtt help examples'
echo ' mtt help CRs'
echo ' mtt help representations <match_string>'
|
>
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#
## Revision 1.1 1996/11/01 12:34:54 peterg
## Initial revision
##
###############################################################
topic=`echo $1 | tr [A-Z] [a-z]`
Topic=$1
if [ "$topic" = "" ]; then
echo 'Usage: mtt help representations'
echo ' mtt help components'
echo ' mtt help examples'
echo ' mtt help CRs'
echo ' mtt help representations <match_string>'
|
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
all='all'
sort='sort -u'
blurb="Representations";;
*)
key="\"$summary|$description\""
find_path=$MTT_LIB
name=$topic$ext
all=''
sort='cat'
blurb=$topic;;
esac
subtopic=$2
if [ "$subtopic" = "" ]; then
subtopic='.'
fi;
|
|
|
|
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
all='all'
sort='sort -u'
blurb="Representations";;
*)
key="\"$summary|$description\""
find_path=$MTT_LIB
name=$Topic$ext
all=''
sort='cat'
blurb=$Topic;;
esac
subtopic=$2
if [ "$subtopic" = "" ]; then
subtopic='.'
fi;
|