view src/testdir/if_ver-1.vim @ 15286:d2a162896a2a v8.1.0651

patch 8.1.0651: :args "foo works like :args without argument commit https://github.com/vim/vim/commit/2ac372ccee1af6f9fa105bf2648d5e4efa554236 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 28 19:06:47 2018 +0100 patch 8.1.0651: :args \"foo works like :args without argument Problem: :args \"foo works like :args without argument. Solution: Fix check for empty argument. (closes https://github.com/vim/vim/issues/3728)
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Dec 2018 19:15:05 +0100
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