view src/testdir/if_ver-1.vim @ 14810:d47c8d294d1a v8.1.0417

patch 8.1.0417: several command line arguments are not tested commit https://github.com/vim/vim/commit/036b09ca78c5516d2b914ebc9494bf7580b8fed8 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 21 12:54:06 2018 +0200 patch 8.1.0417: several command line arguments are not tested Problem: Several command line arguments are not tested. Solution: Add tests for -m, -M, -R and -Vfile. (Dominique Pelle, closes #3458)
author Christian Brabandt <cb@256bit.org>
date Fri, 21 Sep 2018 13:00:07 +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