blob: 3c94c9e1037185c0fb273711ac011cce9adecca9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
" Print all interface versions and write the result into if_ver.txt.
" For Ubuntu. Part 1.
redir! > if_ver.txt
if 1
echo "*** Interface versions ***"
echo "\nLua:"
lua print(_VERSION)
" echo "\nLuaJIT:"
" lua print(jit.version)
if has('mzscheme')
echo "\nMzScheme:"
mzscheme (display (version))
endif
echo "\nPerl:"
perl print $^V
echo "\nRuby:"
ruby print RUBY_VERSION
if has('tcl')
echo "\nTcl:"
tcl puts [info patchlevel]
endif
echo "\nPython 2:"
python import sys; print sys.version
endif
redir END
|