add S_RENUMBER support so when a new line is entered all the line
[nvi.git] / ex / ex_version.c
blobe9bdf1e0bf5e3d5895b922f2440fa252845d1694
1 /*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
5 * %sccs.include.redist.c%
6 */
8 #ifndef lint
9 static char sccsid[] = "$Id: ex_version.c,v 8.18 1993/11/21 16:26:09 bostic Exp $ (Berkeley) $Date: 1993/11/21 16:26:09 $";
10 #endif /* not lint */
12 #include <sys/types.h>
14 #include "vi.h"
15 #include "excmd.h"
18 * ex_version -- :version
19 * Display the program version.
21 int
22 ex_version(sp, ep, cmdp)
23 SCR *sp;
24 EXF *ep;
25 EXCMDARG *cmdp;
27 static time_t then = 753917024;
29 (void)ex_printf(EXCOOKIE,
30 "Version. 0.81, %sThe CSRG, University of California, Berkeley.\n",
31 ctime(&then));
32 return (0);