VERSION(1) — USER COMMANDS
NAME
version − display version identification of object file or binary
SYNOPSIS
version filename ...
DESCRIPTION
The version command displays the version of the named file(s).
USAGE
Do a cd to the directory where the files are located. Then type: version filename
If you are not in the installation directory, type the full path.
The version command works for these compilers and later releases.
cc 1.0,
f77 1.3,
m2c 2.2,
pc 2.0
It will not work for releases before these.
You can verify the version-id of the various executables during a compilation session by using the -V option along with any one of cc 1.0, f77 1.3, m2c 2.2, pc 2.0 compilers. The -V will not work on releases before these. The version command may be used for these selectively as well as for other files like the ∗crt∗ and libm.il, and all such files released at the same time as cc 1.0, etc.
EXAMPLES
If you are not in the /usr/lang/SC0.0/ directory, then:
To get the version id of f77 type: version /usr/lang/f77
To get the version id of libm.il type: version /usr/lang/SC0.0/libm.il
If you are in the /usr/lang/SC0.0/ directory, then:
To get the version id of f77 type: version f77
To get the version id of libm.il type: version libm.il
NOTES
The version command is intended to help you identify versions of the compilers and their associated libraries and other files.
The version command looks for the ASCII string of characters following the string "@(#)RELEASE ". The string could be any sequence of printable characters terminated by a NEWLINE or NULL. Thus if you put this string into your files, the version command can be used to display the version of your files, too.
Sun Release 4.0 — Last change: 26 January 1990