Differences From Artifact [c057d7f237]:

To Artifact [00732c2f17]:


11
12
13
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
# Copyright (c) P.J.Gawthrop, 1997.

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







#Write out the variables in matlab global format
awk '
BEGIN{

  print "global ..."
}
{i++; print tolower($1), "..."}
END{
  print ";"
}' $1_sympar.txt

# Now invoke the standard error handling.
# mtt_error mtt_error.txt









<
|
|
|
|
<





>


|

|






11
12
13
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
# Copyright (c) P.J.Gawthrop, 1997.

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

# Revision 1.1  1997/04/16  11:37:22  peterg
# Initial revision
#
###############################################################



#Write out the variables in matlab global format
awk '
BEGIN{
  var = "foobar";
  print "global ..."
}
{i++; print tolower($1), "..."; var = $1}
END{
  print var ";" # Repeat the last variable to avoid the trailing ...
}' $1_sympar.txt

# Now invoke the standard error handling.
# mtt_error mtt_error.txt



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