-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
" Print all interface versions and write the result into if_ver.txt. | ||
" For Ubuntu. Part 1. | ||
|
||
redir! > if_ver.txt | ||
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 | ||
echo "\nTcl:" | ||
tcl puts [info patchlevel] | ||
echo "\nPython 2:" | ||
python import sys; print sys.version | ||
redir END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
" Print py3 interface version and write the result into if_ver.txt. | ||
" For Ubuntu. Part 2. | ||
|
||
redir! >> if_ver.txt | ||
echo "\nPython 3:" | ||
python3 import sys; print(sys.version) | ||
echo "\n" | ||
redir END |