ADDED mttroot/mtt/bin/trans/mtt_error_r Index: mttroot/mtt/bin/trans/mtt_error_r ================================================================== --- /dev/null +++ mttroot/mtt/bin/trans/mtt_error_r @@ -0,0 +1,19 @@ +#! /bin/sh + + ###################################### + ##### Model Transformation Tools ##### + ###################################### + +# Bourne shell script: mtt_error_r +# Does the error handing for transformations and forces error exit. +# This is the version for resuce which does not use error output. +# P.J.Gawthrop August 1996 +# Copyright (c) P.J.Gawthrop, 1996 + +log_file=$1 + +#Reduce writes errors to std output with ***** in front. +grep '\*\*\*\*\*' $log_file >mtt_error.txt + +# Now invoke the standard error handling. +mtt_error mtt_error.txt