version 1.2, 2005/10/19 16:15:36 |
version 1.3, 2005/11/21 08:34:26 |
|
|
.It Fl V |
.It Fl V |
Display version information and exit. |
Display version information and exit. |
.El |
.El |
|
.Sh EXAMPLES |
|
Given the following source code in file |
|
.Pa foo.c : |
|
.Bd -literal -offset indent |
|
#include <stdio.h> |
|
|
|
static char const rcsid[] = |
|
"$\&Id: foo.c,v 1.2 2005/11/18 09:34:51 xsa Exp $"; |
|
|
|
int |
|
main(void) { |
|
printf("%s\en", rcsid); |
|
return (0); |
|
} |
|
.Ed |
|
.Pp |
|
Compile it and run |
|
.Nm : |
|
.Bd -literal -offset indent |
|
$ ident foo.c foo.o |
|
foo.c: |
|
$\&Id: foo.c,v 1.2 2005/11/18 09:34:51 xsa Exp $ |
|
foo.o: |
|
$\&Id: foo.c,v 1.2 2005/11/18 09:34:51 xsa Exp $ |
|
.Ed |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr ci 1 , |
.Xr ci 1 , |
.Xr co 1 , |
.Xr co 1 , |