Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 2b2407f211aae054514f8d984a1357d40d066a773da488e8786eaa8d83f0d696
User & Date: gawthrop@users.sourceforge.net on 1997-08-26 09:06:11
Other Links: branch diff | manifest | tags
Context
1997-08-26
09:28:25
Initial revision check-in: 6878268cd9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:06:11
Initial revision check-in: 2b2407f211 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:22:36
Changed
MTTY := MTTY + MTTEyx*MTTdX + MTTEyu*MTTdu;
to
MTTY := MTTY + MTTEyx*MTTEdX + MTTEyu*MTTdu;

This sorts out the problem when dz appears in the output equation. check-in: aa78cd9fb1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk

Changes

Added mttroot/mtt/bin/trans/rep_txt2sh version [819d79a4f7].













































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
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
#! /bin/sh

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

# Bourne shell script: rep_txt2sh
# Executes shell commands for report.

# P.J.Gawthrop August 1996
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################


# Inform user
echo "Creating representations for $1_rep.tex"

# Check for old (2 arg) version and update if necessary
mtt_count=`strip_comments < $1_rep.txt | grep -c 'mtt '`
if [ "$mtt_count" = "0" ]; then
  echo 'Hmm .. seems to be an old format. creating new file'
  echo "Old version saved as $1_rep.txt.SAVE"
  mv $1_rep.txt $1_rep.txt.SAVE
  strip_comments < $1_rep.txt.SAVE |\
  awk '{print "mtt", sys, $1, $2}' sys="$1" >$1_rep.txt
fi

# Execute the commands - quietly!
strip_comments< $1_rep.txt | sed 's/mtt /mtt -q /' | sh

echo "Done creating representations for $1_rep.tex"


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