From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,9bb67fc136116969 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,9bb67fc136116969 X-Google-Attributes: gidfee84,public From: Lars Hecking Subject: Re: Executable version number. Date: 1997/04/10 Message-ID: #1/1 X-Deja-AN: 232063483 Sender: lhecking@nmrc.ucc.ie References: Organization: GIE - Geeks In Exile; note new phone #: (021) 90 4078 Newsgroups: comp.unix.osf.osf1,comp.unix.questions George Karabotsos writes: > I am wondering how can I get the executable version number in a C program ? > > From the command line, on OSF1, if I type : > % file germ.exe > I get : > germ.exe : COFF format alpha dynamically linked, demand paged executable or > object module not stripped - version 3.11-10 This is not the executable version. I *think* (someone correct me, please) that this is the version of the object format, or, more precisely, the version of DEC's implementation of said format. > How can I get the 3.11-10 version ? Check the man pages for sccs, what, and, if installed, rcs and ident. -- Lars G. Hecking lhecking@nmrc.ucc.ie GE/Mgc[Unseen] d-(---) s:->s+: a C(+++) UHOS>UHLOSV++++ P+>+++ L>L+++ E>E++ W+(++) N++@ o-- K w-- !O?@ M(-) V(-) PS+ !PE Y+ PGP@>++ t+@ 5 X-- R* tv- b++(+++) DI+ D-- G-- ;-) e+++>++++ h* r++ y+*