Differences From Artifact [0612d65c2d]:

To Artifact [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 ]