Overview
Comment:Fixes problem when lbl.txt does not end with newline.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: d3f2fec8988449db7c03048dd692ba7f24e03774a586c58b6ec5a67fca165fac
User & Date: geraint@users.sourceforge.net on 2001-07-24 22:42:59
Other Links: branch diff | manifest | tags
Context
2001-07-25
04:50:29
Just code aesthetics. check-in: b16543c447 user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-07-24
22:42:59
Fixes problem when lbl.txt does not end with newline. check-in: d3f2fec898 user: geraint@users.sourceforge.net tags: origin/master, trunk
22:32:49
Use gv, not ghostview check-in: 2adddc4d1b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/rbg_fig2m from [2b328e13fa] to [8e10459648].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27







+
+
+







# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.6  2001/05/24 07:48:17  gawthrop
## Include artwork in the cbg.fig file
##
## Revision 1.5  2001/03/23 14:56:21  gawthrop
## Now puts space after header fields + write _port.fig
##
## Revision 1.4  2000/09/14 08:41:51  peterg
## *** empty log message ***
##
## Revision 1.3  1997/03/19 09:50:24  peterg
58
59
60
61
62
63
64

65

66
67
68
69
70
71
72
61
62
63
64
65
66
67
68

69
70
71
72
73
74
75
76







+
-
+







touch $1_cmp.fig
touch $1_port.fig
touch $1_bnd.fig
touch $1_art.fig

# The following horrible sed thing is to replace tab by ----
# this is because I can't get sed to recognise tabs even if FS=" ".
echo "" > $1_abg.mtt
sed 's/	/---- /'<$1_abg.fig > $1_abg.mtt
sed 's/	/---- /'<$1_abg.fig >> $1_abg.mtt

# This is the main transformation using awk
cat $1_lbl.txt $1_abg.mtt |  awk -f $MTTPATH/trans/awk/rbg_fig2m.awk $1

rm -f $1_abg.mtt

#Create the stripped abg file


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