SQLITE_NOTICE(283): recovered 5 frames from WAL file /data/mtt.fossil-wal
File mttroot/mtt/bin/mtt_version artifact 6c3f7fc85e part of check-in 8ac7d4a29a
#! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: mtt_version # Prints out version of a GNU-style tool # P.J.Gawthrop May 1998 # Copyright (c) P.J.Gawthrop 1998 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.3 1999/12/20 02:08:38 peterg ## Added second arg option ## ## Revision 1.2 1998/05/28 09:31:44 peterg ## Cosmetic changes ## ## Revision 1.1 1998/05/28 09:31:13 peterg ## Initial revision ## ############################################################### if [ -z "$2" ]; then echo Trying $1 ... ver=`$1 --version | head -1` if [ -n "$ver" ]; then echo is OK and has version $ver. else echo Either $1 does not exist or is not the GNU version. fi else echo $1: $2 fi