Overview
Comment:New piped version.
any mttnn variable
looks for () not []
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 0f4769d918b2bf4450f5afe74bdd477c93b209e7b1c20e3a78ac52505afecf0c
User & Date: gawthrop@users.sourceforge.net on 2000-10-11 08:27:27
Other Links: branch diff | manifest | tags
Context
2000-10-11
08:52:46
Creates csex (cse with dxe only) rep. check-in: b19c6ea4f1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:27:27
New piped version.
any mttnn variable
looks for () not []
check-in: 0f4769d918 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:01:42
Added noglobal fudge check-in: d150ff3b2f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_vectorise from [0612d65c2d] to [73e91bfb7d].

1
2

3
4
5
6

7
8
9
1

2
3
4


5

6
7

-
+


-
-
+
-


#!/bin/sh
# Vectorises the matrix output of reduce ie converts [n,1] to [n]
# Vectorises the matrix output of reduce ie converts (n,1) to (n)
# Copyright (C) 2000 by Peter J. Gawthrop

mv $1 $1_junk
sed 's/mtt_matrix\[\([0-9]*\),1\]/mtt_matrix[\1]/'< $1_junk > $1
sed 's/mtt_\([a-z]*\)(\([0-9]*\),1)/mtt_\1(\2)/'
rm -f $1_junk



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