Overview
Comment:Now handles unnamed 0 and 1
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 749371a8cf2fffff1d5b13b862cf0017b2c994161b1defc42eb76173c6327c7e
User & Date: gawthrop@users.sourceforge.net on 1999-07-28 05:46:52
Other Links: branch diff | manifest | tags
Context
1999-07-28
21:08:15
Added AFe check-in: cf54204f00 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
05:46:52
Now handles unnamed 0 and 1 check-in: 749371a8cf user: gawthrop@users.sourceforge.net tags: origin/master, trunk
05:45:24
Added AE AF check-in: de08e1ed52 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/xfig/Basic/MAKE_COMPONENT from [7f7f09d195] to [9f63b6b6f6].

1
2
3
4
5
6
7
8
9

10
11


12
13
#!/bin/sh
## Makes a new component

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


echo Making new component $1 with label $label



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










>
|
|
>
>
|
|
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 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 ]