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