10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright (c) P.J.Gawthrop 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################
echo Versions of mtt and its components on `date`
mtt_version mtt
mtt_version awk
mtt_version cat
#mtt_version echo
mtt_version gcc
#mtt_version gnuplot
mtt_version grep
mtt_version make
mtt_version octave
mtt_version sed
mtt_version sh
|
>
>
>
>
>
>
|
|
|
>
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright (c) P.J.Gawthrop 1998
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1 1998/05/28 09:24:41 peterg
## Initial revision
##
###############################################################
echo Versions of mtt and its components on `date`
## gnu standard --version
mtt_version mtt
echo Doing the GNU components
mtt_version awk
mtt_version basename
mtt_version cat
mtt_version cp
mtt_version dirname
mtt_version gcc
mtt_version grep
mtt_version head
mtt_version make
mtt_version octave
mtt_version sed
mtt_version tail
mtt_version tr
## Non standards
echo Doing the non-GNU components
echo Trying xfig ...
xfig -help 2> mtt_junk; version=`grep Xfig mtt_junk`
echo is OK and has version $version
echo Trying fig2dev ...
fig2dev -h > mtt_junk; version=`grep -i patchlevel mtt_junk`
echo is OK and has version $version
echo Trying reduce ...
reduce >mtt_junk <<EOF
bye;
EOF
version=`grep REDUCE mtt_junk`
echo is OK and has version $version
|