Differences From Artifact [1a4f57c0f6]:

To Artifact [a364ee2efb]:


10
11
12
13
14
15
16



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

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



## Revision 1.4  2003/08/06 22:39:40  geraint
## Fixed reporting of non-existent software, no longer says "is OK and has version .".
##
## Revision 1.3  2002/04/28 18:41:26  geraint
## Fixed [ 549658 ] awk should be gawk.
## Replaced calls to awk with call to gawk.
##







>
>
>







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

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.5  2005/02/17 18:36:38  geraint
## Removed a bash-ism: replaced [[ conditional ]] with [ conditional ]
##
## Revision 1.4  2003/08/06 22:39:40  geraint
## Fixed reporting of non-existent software, no longer says "is OK and has version .".
##
## Revision 1.3  2002/04/28 18:41:26  geraint
## Fixed [ 549658 ] awk should be gawk.
## Replaced calls to awk with call to gawk.
##
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
echo Doing the non-GNU components

print_version ()
{
    program=${1:-"Error: unknown program"}
    shift;
    version=$*
    if [ ${version:-""} ]; then
	echo is OK and has version $version.
    else
	echo $program does not exist.
    fi
}

echo Trying xfig ...







|







56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
echo Doing the non-GNU components

print_version ()
{
    program=${1:-"Error: unknown program"}
    shift;
    version=$*
    if [ "${version:-""}" ]; then
	echo is OK and has version $version.
    else
	echo $program does not exist.
    fi
}

echo Trying xfig ...

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