Overview
Comment:Now puts representation and examples files in:
~/.mtt/xmtt/reps and ~/.mtt/xmtt/examples and
automatically updates these as required.
xmtt --help more informative now.
Long and short options available.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 5cd1d36fe00d656d5fd99113e2c8e504c887f6121e2a7800a692561ae0cfeb82
User & Date: gawthrop@users.sourceforge.net on 2002-04-17 16:38:47
Other Links: branch diff | manifest | tags
Context
2002-04-17
17:56:32
Yet another try check-in: 1208aacc81 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
16:38:47
Now puts representation and examples files in:
~/.mtt/xmtt/reps and ~/.mtt/xmtt/examples and
automatically updates these as required.
xmtt --help more informative now.
Long and short options available.
check-in: 5cd1d36fe0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
16:23:59
Partial fix for [ 545113 ] zeros missing in c++.
Fixes -oct by removing duplicate initialisation (-c is still outstanding).
check-in: bbb94d4670 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_make_menu from [f37709f312] to [b7552da8d5].

1
2
3
4
5
6
7
8
9
10







11
12
13
14
15
16
17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24










+
+
+
+
+
+
+







#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: mtt_make_menu
# Creates tk/tcl menus for xmtt.
# Copyright (c) P.J.Gawthrop, 1998,1999

## Paths for its files
dotfile="$HOME/.mtt"
xdotfile="${dotfile}/xmtt"

repfile="${xdotfile}/reps"
exfile="${xdotfile}/examples"

#MTT blurb
title=`mtt --version`

#Collect all systems (inc dir name)
pwd=`pwd`;
dirname=`basename $pwd`
systems=`echo *_abg.fig | sed 's/\([a-zA-Z0-9]*\)_abg.fig/\1/g'`
83
84
85
86
87
88
89
90

91
92
93
94
95
96
97
98
99

90
91
92
93
94
95
96

97
98
99
100
101
102
103
104
105

106







-
+








-
+

# Examples menu
cat <<EOF
menu .exam.exam
EOF

echo '#' Examples menu
strip_comments <$MTTPATH/EXAMPLES | examples_txt2tk
strip_comments <${exfile} | examples_txt2tk

# Representations menu
echo '#' Representations menu
cat<<EOF
menu .rep.rep
menu .repall.repall
EOF

strip_comments <$MTTPATH/REPS  | reps_txt2tk 
strip_comments <${repfile}  | reps_txt2tk 


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]