Differences From Artifact [7f7f09d195]:

To Artifact [9f63b6b6f6]:


1
2
3
4
5
6
7
8
9

10
11
12
13






1
2
3
4
5
6
7
8
9
10




11
12
13
14
15
16









+
-
-
-
-
+
+
+
+
+
+
#!/bin/sh
## Makes a new component

if [ -z "$2" ]; then
  label=$1
else
  label=$2    
fi

if [ "$1" = "0" ]||[ "$1" = "1" ]; then
echo Making new component $1 with label $label

sed "s/TEXT/$1:$label/" <template.txt >$1.fig

  echo Making new component $1 with no label
  sed "s/TEXT/$1/" <template.txt >$1.fig
else
  echo Making new component $1 with label $label
  sed "s/TEXT/$1:$label/" <template.txt >$1.fig
fi

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