view src/testdir/if_ver-1.vim @ 13812:9d6cd12ae7bc v8.0.1778

patch 8.0.1778: script to check translations does not always work commit https://github.com/vim/vim/commit/b07bbb0d29493fcf4ed080fe018535e64441d663 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 30 15:45:17 2018 +0200 patch 8.0.1778: script to check translations does not always work Problem: Script to check translations does not always work. Solution: Go to first line before searching for MIME.
author Christian Brabandt <cb@256bit.org>
date Mon, 30 Apr 2018 16:00:08 +0200
parents 94e37fd22556
children
line wrap: on
line source

" 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