Overview
Comment:Included `;' in demimiter list.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 5e351e113e1cb36af81f7f248cf89db66a955cb959f3830b522aad9020d7b756
User & Date: gawthrop@users.sourceforge.net on 1996-08-30 10:04:20
Other Links: branch diff | manifest | tags
Context
1996-08-30
10:07:51
Removed impicit creation of abg.fig file. check-in: 1767cb5051 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:04:20
Included `;' in demimiter list. check-in: 5e351e113e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:58:55
Uses str2ch to exteact a char from a string. check-in: 84fc025a5b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/lbl2sympar_txt2r from [371f9991bf] to [eb46dc4e8c].

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
# Copyright (c) P.J.Gawthrop, 1996.

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



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


# Inform user
echo "Creating $1_sympar.r"

rm -f mtt_error

# This is the main transformation using gawk

gawk -f $MTTPATH/lbl2sympar.awk $1_lbl.txt > $1_sympar.r 2>mtt_error

err_length=$(wc -c <mtt_error)

# Test for errors and print if any
if [ $err_length != "0" ]
then
  echo lbl2sympar_txt2 $1 failed '...'
  cat mtt_error
  exit 1
else
  exit 0
fi









>
>
>









>
|

<
|
<
<
<
<
|
<
<
<
<


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
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.1  1996/08/24  13:34:09  peter
# Initial revision
#
###############################################################


# Inform user
echo "Creating $1_sympar.r"

rm -f mtt_error

# This is the main transformation using gawk
tr ';' ',' <  $1_lbl.txt | \
gawk -f $MTTPATH/lbl2sympar.awk  > $1_sympar.r 2>mtt_error.txt


# Now invoke the standard error handling.




mtt_error mtt_error.txt







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