Bram Moolenaar | 02113ed | 2017-08-06 17:06:24 +0200 | [diff] [blame] | 1 | " Print all interface versions and write the result into if_ver.txt. |
| 2 | " For Ubuntu. Part 1. |
| 3 | |
| 4 | redir! > if_ver.txt |
| 5 | if 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 |
| 25 | endif |
| 26 | redir END |