Differences From Artifact [c75da8fe88]:

To Artifact [055c2bffbd]:


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
40
41
42
43
44
45
46
# Copyright (c) P.J.Gawthrop, 1997.

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



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



# Inform user
echo "Creating $1_odeso.sdat"

rm -f mtt_error

# This is the main transformation using gawk
gawk '

BEGIN{
printf("Time");
}
{ if ($1=="output")
    printf(" %s(%s)", $3, $5);
}
END{
printf("\n");
}
'  SYSTEM=$1  < $1_struc.txt > $1_odeso.sdat 2>mtt_error.txt

cat $1_odeso.dat >> $1_odeso.sdat 2>>mtt_error.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

















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

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  1999/03/28 21:29:40  peterg
## Initial revision
##
###############################################################



# Inform user
echo "Creating $1_odeso.sdat"


dat2sdat $1 odeso | dat2siag > $1_odeso.sdat





















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