Man Page version.1




NAME

     version - display version identification of object	 file  or
     binary


SYNOPSIS

     version   filename	[filename filename  ...	]
     version -p	 command [ command command  ...	]


DESCRIPTION

     The version  command  displays  the  version  of  the  named
     file(s).


USAGE

     Type: version filename
     Or: version -p  command

     filename (or a list of file names)	is either a full path  to
     a file starting with /, or	a relative path	starting from the
     current directory.

     Alternatively, use	the -p option to search	the current $PATH
     for command (or a list of commands) and display it's version
     string.

     You can also use the cc, CC, and f95 compiler's -V	option to
     display  directly	the version ID of the various executables
     that operate during a compilation session.


EXAMPLES

     In	the following examples,	path must give the full	 pathname
     to	the file(s).

	  version  /path/f95 /path/prod/iropt

     Or	use the	-p option to find a command on the current $PATH:

	  version -p  cc CC f95	dbx


NOTES

     The version command seeks and displays any	string	of  ASCII
     characters	 following  the	@(#)RELEASE VERSION string.  This
     string should be in a #pragma ident, for example:

	  #pragma ident	@(#)RELEASE VERSION 8.2

     The version information string  following	this  version-key
     string   can   be	 any  sequence	of  printable  characters
     terminated	by a NEWLINE or	NULL.

     To	see a  list  of	 the  Oracle  Solaris  Studio  components
     installed	on  your  system, use the package command that is
     appropriate for your system.
     For example, to see which package contains	the cc binary use
     commands like this:
       On Solaris 10 : pkgchk -l -p /path/to/.../bin/cc
       On Solaris 11 : pkg search -lp /path/to/.../bin/cc
       On Linux	     : rpm -qf /path/to/.../bin/cc

     To	see which Oracle Solaris Studio	packages are installed on
     the system:
       On Solaris 10 : pkginfo | grep SPRO
       On Solaris 11 : pkg list	| grep -i studio
       On Linux	     : rpm -qa | grep solstudio	| head