Overview
Comment:Converts cbg fig file to one with marked paths
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 0d3c58cce842f91f8eac0d0ca10fbfcb311829bc1cfbc2514c7d906712eee528
User & Date: gawthrop@users.sourceforge.net on 2013-07-19 05:30:25
Other Links: branch diff | manifest | tags
Context
2013-07-19
05:33:42
Optionally avoids alphabetic sort using no_alpha_sort
Use -nas switch in mtt.
check-in: 2e689e7d98 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
05:30:25
Converts cbg fig file to one with marked paths check-in: 0d3c58cce8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2012-10-15
22:21:30
debian/compat specifies the debhelper compatability level check-in: a4c5920eef user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/cbg2pcbg version [fcf7f64a42].































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
#! /bin/bash

## Colour the reactions in the path

## Colours
blue=1
green=2
cyan=3
red=4
magenta=5
yellow=6
colour=$magenta

## Fonts
Times_Bold_Italic=3
Helvetica_Bold_Oblique=19
Helvetica_Narrow_Bold_Oblique=23
font=${Helvetica_Bold_Oblique}

sys=$1
path="$2"

cp ${sys}_cbg.fig tmp.fig
for p in $path; do
    ##echo doing $p
    sed "s/\([0-9] [0-9]\) [0-9]* \([0-9]* [0-9]*\) [0-9]* \(.*:$p.001$\)/\1 $colour \2 $font \3/" \
	< tmp.fig >TMP.fig
    mv TMP.fig tmp.fig
done

mv  tmp.fig ${sys}_pcbg.fig


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