view src/testdir/if_ver-1.vim @ 14772:66e241c3a2f0 v8.1.0398

patch 8.1.0398: no test for -o and -O command line arguments commit https://github.com/vim/vim/commit/8f4499b81612568b4964e8445d86e34e6d644b13 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 16 16:28:11 2018 +0200 patch 8.1.0398: no test for -o and -O command line arguments Problem: No test for -o and -O command line arguments. Solution: Add a test. (Dominique Pelle, closes https://github.com/vim/vim/issues/3438)
author Christian Brabandt <cb@256bit.org>
date Sun, 16 Sep 2018 16:30:06 +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