Overview
Comment: | $topic now converted to lower case. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
2e2e1da0e35dd7eac1e0f152cc446479 |
User & Date: | gawthrop@users.sourceforge.net on 1998-03-22 20:21:11 |
Other Links: | branch diff | manifest | tags |
Context
1998-03-22
| ||
21:13:17 | Fixed bug in above check-in: 017ca2f7dd user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
20:21:11 | $topic now converted to lower case. check-in: 2e2e1da0e3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
20:13:25 | Trig simplification added check-in: c095ced636 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt_help from [db9f22911e] to [e74930647c].
︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # Copyright (c) P.J.Gawthrop 1996 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ # Revision 1.5 1997/09/04 09:21:01 peterg # Added context-dependent sort. # # Revision 1.4 1997/09/04 09:16:29 peterg # Removed sort -u # ## Revision 1.3 1996/11/09 21:10:20 peterg ## Tidied up searches by putting everyrhing into lib. ## # Revision 1.2 1996/11/02 10:22:54 peterg # Now browses crs. # ## Revision 1.1 1996/11/01 12:34:54 peterg ## Initial revision ## ############################################################### | > > > > | | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | # Copyright (c) P.J.Gawthrop 1996 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.6 1997/09/04 09:35:04 peterg ## Changed $ext to give accurate match -- matches t ot m at end of ## filename ## # Revision 1.5 1997/09/04 09:21:01 peterg # Added context-dependent sort. # # Revision 1.4 1997/09/04 09:16:29 peterg # Removed sort -u # ## Revision 1.3 1996/11/09 21:10:20 peterg ## Tidied up searches by putting everyrhing into lib. ## # Revision 1.2 1996/11/02 10:22:54 peterg # Now browses crs. # ## Revision 1.1 1996/11/01 12:34:54 peterg ## Initial revision ## ############################################################### topic=`tr [A-Z] [a-z] $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>' echo ' mtt help components <match_string>' echo ' mtt help examples <match_string>' echo ' mtt help CRs <match_string>' echo ' mtt help <component_or_example_or_CR_name>' exit fi ext='_[cl]*.*[mt]' summary='[%#]SUMMARY' description='[%#]DESCRIPTION' case $topic in components) key=$summary find_path=$MTT_COMPONENTS |
︙ | ︙ | |||
95 96 97 98 99 100 101 | if [ "$subtopic" = "" ]; then subtopic='.' fi; echo $blurb mtt_find $find_path "$name" "egrep -i $key.*$subtopic" $all|\ sed "s/$summary[ ]*/ /" |\ | | > > | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | if [ "$subtopic" = "" ]; then subtopic='.' fi; echo $blurb mtt_find $find_path "$name" "egrep -i $key.*$subtopic" $all|\ sed "s/$summary[ ]*/ /" |\ sed "s/$description[ ]*/ /" |\ sed "s!$find_path/!!" |\ $sort |