Overview
Comment:Sorted out naming scheme for files
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 708dd6c35f986b780210f25c8cf0287ba84b3446c3c8582c3869ac14f0e2911e
User & Date: gawthrop@users.sourceforge.net on 1996-08-08 18:07:31
Other Links: branch diff | manifest | tags
Context
1996-08-08
18:08:11
Sorted out file naming sceme check-in: 6804a09be3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:07:31
Sorted out naming scheme for files check-in: 708dd6c35f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:06:55
Unified naming scheme. check-in: d4ea53be71 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/cbg_m2fig from [48f32f827f] to [bb20371075].

14
15
16
17
18
19
20



21
22
23
24
25
26
27



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

46
47
48
49
50
51
52
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



###############################################################


# Remove the old log file
rm -f cbg_m2fig.log
rm -f mtt_info.txt
cp $1_fig.fig $1_cbg.fig





#Inform user
echo Creating $1_cbg.fig

# Use  matrix manipulation to accomplish the transformation
$MATRIX > cbg_m2fig.log  2>> cbg_m2fig.log << EOF

  system_name = '$1';
  system_type = '$1';
  full_name = '';
  thick = 3; length = 250; red = 4; blue = 1; green = 12; font = 18;
  cbg2fig(system_name, ...
          system_type, full_name, ...
          length, thick, blue, ...
          font, green, red);
EOF
















>
>
>






|
>
>
>









<
<


|




>







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42


43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  1996/08/05 20:13:56  peter
## Initial revision
##
###############################################################


# Remove the old log file
rm -f cbg_m2fig.log
rm -f mtt_info.txt

# The following sets up the fig header file for the system
# and each sub system.
ls $1_*_cbg.m | sed 's/\(.*_\)\(.*_\)cbg.m/cp \2fig.fig \1\2cbg.fig/' | sh


#Inform user
echo Creating $1_cbg.fig

# Use  matrix manipulation to accomplish the transformation
$MATRIX > cbg_m2fig.log  2>> cbg_m2fig.log << EOF

  system_name = '$1';


  thick = 3; length = 250; red = 4; blue = 1; green = 12; font = 18;
  cbg2fig(system_name, ...
          '', '', ...
          length, thick, blue, ...
          font, green, red);
EOF

cp $1_$1_cbg.fig $1_cbg.fig








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