1998-04-29 00:42:47 +00:00
|
|
|
.\"
|
1998-05-08 17:33:46 +00:00
|
|
|
.\" $Id: getvers.1,v 1.3 1998/05/08 17:33:41 tribby Exp $
|
1998-04-29 00:42:47 +00:00
|
|
|
.\"
|
|
|
|
.TH GETVERS 1 "April 1998" "GNO" "Commands and Applications"
|
1998-03-11 02:58:52 +00:00
|
|
|
.SH NAME
|
|
|
|
.LP
|
|
|
|
.B getvers
|
1998-04-29 00:42:47 +00:00
|
|
|
\- list information stored in rVersion and rComment resources
|
1998-03-11 02:58:52 +00:00
|
|
|
.SH SYNOPSIS
|
1998-04-29 00:42:47 +00:00
|
|
|
.BR getvers " [" -b "] [" -c "]"
|
1998-05-08 17:33:46 +00:00
|
|
|
.RB "[" -f "] [" -q "] file ..."
|
1998-03-11 02:58:52 +00:00
|
|
|
.SH DESCRIPTION
|
1998-04-29 00:42:47 +00:00
|
|
|
.BR getvers
|
1998-05-08 17:33:46 +00:00
|
|
|
print the version information (product name, version, description, country)
|
|
|
|
stored in the rVersion resource of the specified files and optionally print
|
|
|
|
the contents of the rComment resource. If there is no version information,
|
|
|
|
or if there is an error accessing the file,
|
1998-04-29 00:42:47 +00:00
|
|
|
.BR getvers
|
1998-05-08 17:33:46 +00:00
|
|
|
prints a message and continues processing any remaining files.
|
1998-03-11 02:58:52 +00:00
|
|
|
.LP
|
1998-05-08 17:33:46 +00:00
|
|
|
To add rVersion resource information to a file, you can use the companion
|
1998-03-11 02:58:52 +00:00
|
|
|
shell utility
|
1998-05-08 17:33:46 +00:00
|
|
|
.IR setvers (1),
|
1998-04-29 00:42:47 +00:00
|
|
|
or use the
|
1998-05-08 17:33:46 +00:00
|
|
|
.IR rez
|
1998-04-29 00:42:47 +00:00
|
|
|
resource compiler.
|
|
|
|
.PP
|
|
|
|
.BR getvers
|
|
|
|
returns 1 to its parent program if an error is encountered processing
|
|
|
|
any of the files. Otherwise it returns 0.
|
|
|
|
.SS OPTIONS
|
|
|
|
.BR getvers
|
|
|
|
recognizes these options:
|
|
|
|
.IP \fB-b\fR
|
1998-05-08 17:33:46 +00:00
|
|
|
print a brief one-line listing for each file, showing only the product
|
|
|
|
name and version.
|
1998-04-29 00:42:47 +00:00
|
|
|
.IP \fB-c\fR
|
|
|
|
print rComment resource number 1 (the one displayed by Finder in
|
|
|
|
file information windows).
|
1998-05-08 17:33:46 +00:00
|
|
|
.IP \fB-f\fR
|
|
|
|
print the name of a file before printing its information.
|
1998-04-29 00:42:47 +00:00
|
|
|
.IP \fB-q\fR
|
1998-05-08 17:33:46 +00:00
|
|
|
do not print error or warning information.
|
1998-03-11 02:58:52 +00:00
|
|
|
.SH SEE ALSO
|
1998-05-08 17:33:46 +00:00
|
|
|
.IR setvers "(1)"
|
1998-04-29 00:42:47 +00:00
|
|
|
.SH VERSION
|
|
|
|
This manual page documents
|
|
|
|
.BR getvers
|
|
|
|
version 2.0.
|
1998-03-11 02:58:52 +00:00
|
|
|
.SH AUTHOR
|
1998-04-29 00:42:47 +00:00
|
|
|
Originally written by Ian Schmidt, Two Meg Software. Updated by Dave Tribby
|
|
|
|
for GNO/ME 2.0.6.
|
|
|
|
.SH HISTORY
|
|
|
|
The previous version (1.20) of
|
|
|
|
.BR getvers
|
|
|
|
was released by Ian Schmidt in May 1993
|
|
|
|
as an independent archive compatible with GNO and ORCA.
|