Commit Graph

40 Commits

Author SHA1 Message Date
peter 75e76988cc WARNS=3 clean. 2004-11-22 17:32:08 +00:00
peter cd2105a43a Add some missing static/const.
ok wiz@
2004-11-22 17:31:38 +00:00
peter 52f947197e ANSIfy & KNF.
ok wiz@
2004-11-22 17:28:58 +00:00
peter 3a0b5da47f Print the correct usage message for whoami(1) and groups(1).
ok wiz@
2004-11-22 17:21:36 +00:00
peter e8ec0dc16f id(1) -p supports optional [user] arg;
from matthew clarke via OpenBSD

ok wiz@
2004-11-19 14:18:01 +00:00
fvdl c4aacce6a3 Don't compare an integer to NULL. 2003-10-21 02:17:45 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
itohy 7d6cc9c5e5 Add missing newline of "id -p" output. 2001-01-05 03:08:23 +00:00
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
drochner 85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
mycroft b6fad0e324 Make the group list format consistent between `id' and `id userid'. Also make
it look like what Solaris and Linux use (comma but no space between items).
1999-08-17 17:37:32 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
christos 6ccac2c3b8 use sysconf to get the max number of groups instead of NGROUPS. 1998-12-19 16:55:21 +00:00
thorpej 4567103300 Make this compile again, and fix some whitespace lossage. 1998-10-14 21:56:57 +00:00
wsanchez a6e937b096 Replace groups and whoami sh scripts with hard links to id. 1998-10-14 00:55:03 +00:00
erh 7713adc833 Add "-p" usage line. 1998-10-12 20:33:52 +00:00
ross f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
fair 1628920950 Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z] 1998-04-28 07:19:28 +00:00
lukem e8ca1c7c50 getopt returns -1 not EOF 1997-10-19 03:18:54 +00:00
lukem f371ce2cb8 WARNSify, fix .Nm usage, deprecate register, use err() from <err.h> 1997-10-19 02:45:44 +00:00
cgd c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
christos 3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
perry 20cc106064 Sync with 4.4BSD-Lite2 1995-09-28 08:05:40 +00:00
cgd 7bcf9338df specify man pages the new way. 1994-12-22 12:29:38 +00:00
mycroft d8f5a26b66 Fix RCS id format. 1994-10-06 15:39:54 +00:00
cgd 87dc7098ba update 1994-05-05 23:24:26 +00:00
cgd 39059e3c25 oops 1994-05-05 22:52:36 +00:00
cgd 1dbbb3b701 new 'id' 1994-05-05 22:50:17 +00:00
jtc abfeba19ee Getgroup's second argument is now a gid_t ptr. 1994-04-01 01:19:08 +00:00
cgd fcea20f055 fix from piero@strider.st.dsi.unimi.it (Piero Serini) to get
"id <login>" to dtrt with primary group name.
1993-12-09 10:28:26 +00:00
jtc ca2f4c2507 Document the fact that id is POSIX.2 compliant.
This manpage must have been derrived from the logname manpage, remove
logname cruft.
1993-08-28 04:39:51 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00