Commit Graph

12 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav
7ac237e80f Back out Steve's fix, as this was already fixed by me in revision 1.6 1998-05-25 12:04:47 +00:00
Steve Price
af2bbadbe0 Only allow 'who' and 'who am i' as valid usages.
PR:		6294
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-05-25 07:19:07 +00:00
Dag-Erling Smørgrav
574a97f5ce Check that user really typed "who am {I,i}", and that no stray
arguments are given.
Note that usage() and the manpage disagree...

PR:		bin/6294
Suggested by:	Ruslan Ermilov and Bruce Evans
Submitted by:	Ruslan Ermilov (partly)
1998-04-26 19:10:51 +00:00
Poul-Henning Kamp
acf1dcdc9c Better SYNOPSIS
PR:		6294
Reviewed by:	bde, phk
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 06:42:18 +00:00
Philippe Charnier
0abcff762c Use err(3). Add usage(). 1997-08-26 11:14:57 +00:00
Kazutaka YOKOTA
719ed69ecf Made sure the string formated by strftime() is properly
null-terminated.

Fixed a wrong if statement which should test a string is
empty where in fact it tested the string pointer was NULL.

Should go to RELENG_2_1 and RELENG_2_2.

Reviewed by guido@freebsd.org.
1997-03-07 11:04:01 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Wolfram Schneider
b8923d4cc0 [HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
Andrey A. Chernov
965f310ce1 Add setlocale LC_TIME 1995-10-24 04:06:02 +00:00
Andrey A. Chernov
eaf7e02e63 Replace ctime by strftime %c to use national date representation now 1995-08-07 23:39:58 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00