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: 426a38571ae02f3b626729d8ca038c739d46fcdac0a87879c81dd3308121f4d9
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: cd598ed9f0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
05:30:25
Converts cbg fig file to one with marked paths check-in: 426a38571a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2012-10-15
22:21:30
debian/compat specifies the debhelper compatability level check-in: d47b2d7586 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 ]