ADDED mttroot/mtt/bin/trans/mtt_langname Index: mttroot/mtt/bin/trans/mtt_langname ================================================================== --- /dev/null +++ mttroot/mtt/bin/trans/mtt_langname @@ -0,0 +1,14 @@ +#! /bin/sh + + ###################################### + ##### Model Transformation Tools ##### + ###################################### + +# Bourne shell script: mtt_langname + +# Returns the language name from System_rep.lang + +# P.J.Gawthrop Feb 2000 +# Copyright (C) 2000 by Peter J. Gawthrop + +echo $1 | awk -F '.' '{print $2}' ADDED mttroot/mtt/bin/trans/mtt_repname Index: mttroot/mtt/bin/trans/mtt_repname ================================================================== --- /dev/null +++ mttroot/mtt/bin/trans/mtt_repname @@ -0,0 +1,14 @@ +#! /bin/sh + + ###################################### + ##### Model Transformation Tools ##### + ###################################### + +# Bourne shell script: mtt_repname + +# Returns the representation name from System_rep.lang + +# P.J.Gawthrop Feb 2000 +# Copyright (C) 2000 by Peter J. Gawthrop + +echo $1 | tr '.' '_' | awk -F '_' '{print $2}' ADDED mttroot/mtt/bin/trans/mtt_sysname Index: mttroot/mtt/bin/trans/mtt_sysname ================================================================== --- /dev/null +++ mttroot/mtt/bin/trans/mtt_sysname @@ -0,0 +1,14 @@ +#! /bin/sh + + ###################################### + ##### Model Transformation Tools ##### + ###################################### + +# Bourne shell script: mtt_sysname + +# Returns the system name from System_rep.lang + +# P.J.Gawthrop Feb 2000 +# Copyright (C) 2000 by Peter J. Gawthrop + +echo $1 | awk -F '_' '{print $1}'