Overview
Comment:Cosmetic change
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 7e29547fcae7f6df90d79ac51a440aba83a642f581720439768782b73bd7161d
User & Date: gawthrop@users.sourceforge.net on 1998-03-05 10:17:41
Other Links: branch diff | manifest | tags
Context
1998-03-06
09:15:28
Ignores SS fields (assumes that if first field is a symbol then other
field is and SS-style field.
check-in: 9cc4fc0809 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-03-05
10:17:41
Cosmetic change check-in: 7e29547fca user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:14:37
Toned down the error warning message check-in: 335ff2e242 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_error from [aa92e40351] to [c570eec722].

10
11
12
13
14
15
16



17
18
19
20
21
22
23
# Copyright (c) P.J.Gawthrop, 1996

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



## Revision 1.4  1998/02/26 10:21:51  peterg
## Revised to take account of new (??) wc output - now echos the file
## name (??)
##
## Revision 1.3  1998/02/25 21:35:00  peterg
## Put "" round if argument in case $err_length is null.
##







>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (c) P.J.Gawthrop, 1996

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.5  1998/03/05 10:14:37  peterg
## Toned down the error warning message
##
## Revision 1.4  1998/02/26 10:21:51  peterg
## Revised to take account of new (??) wc output - now echos the file
## name (??)
##
## Revision 1.3  1998/02/25 21:35:00  peterg
## Put "" round if argument in case $err_length is null.
##
31
32
33
34
35
36
37
38
39
40
41
42
43
44

error_file=$1;

# Test for errors and print if any
err_length=`wc -c <$error_file | awk '{print $1}'`
if [ "$err_length" != "0" ]
then
  echo An MTT transformation has generated the following messages 
  echo which may not be important
  cat $error_file
  exit 1
else
  exit 0
fi







|






34
35
36
37
38
39
40
41
42
43
44
45
46
47

error_file=$1;

# Test for errors and print if any
err_length=`wc -c <$error_file | awk '{print $1}'`
if [ "$err_length" != "0" ]
then
  echo INFORMATION: An MTT transformation has generated the following messages 
  echo which may not be important
  cat $error_file
  exit 1
else
  exit 0
fi


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