SETVERS(1) Commands and Applications SETVERS(1)
setvers - store version number and strings in rVersion format in the
specified executable file.
setvers file 'string1~string2' [country] vmajrev.minrev.bugrev
setvers is a program which adds an rVersion resource to the specified
file. The rVersion format allows for two strings of up to 255 charac-
ters, although it is suggested that for this use you keep each field
shorter than 80 characters. string1 is seperated from string2 by a ^
character, and the both strings should be enclosed in single quotes.
string1 is required to be the name of the program. Any '_' character
in string2 will be interpreted as a carriage return. When using GNO,
make sure to quote the single quotes with backslashes.
The optional field country (no spaces allowed) allows you to set the
country field of the rVersion resource. The last parameter is the cur-
rent revision number of the program in the format majrev.minrev.bugrev,
where majrev is a single or double digit number from 00 to 99, and min-
rev and bugrev are single digit numbers from zero to nine.
To print the version information stored by setvers you can use the com-
panion shell utilities getvers or gv.
(case IS sensitive)
o Set the version of program 'chmod' to read:
Country: United States
# setvers chmod 'chmod^James Brookes_jamesb@cscihp.ecst.csuchico.edu'
% setvers chmod \'chmod^James Brookes_jamesb@cscihp.ecst.csuchico.edu\'
If an rVersion resource already exists, it will be overwritten and
replaced with the new one. Other resources will be unaffected.
Ian Schmidt, Two Meg Software
GNO 15 May 1993 SETVERS(1)
Man(1) output converted with