Jim Meyering 2beac10424 Add options to make `who' more POSIX compliant.
Accept new options: --all (-a), --boot (-b), --dead (-d),
--login, --process (-p), --runlevel (-r), --short (-s), --time (-t),
--users (-u).
The -u option now produces POSIX-specified results and is the same as
the long option `--users'.  --idle is no longer the same as -u.
(time_string, print_line, print_boottime, print_deadprocs, print_login,
print_initspawn, print_clockchange, print_runlevel): New functions.
(print_user): Renamed from print_entry and reworked.
(search_entries): Remove function.
(who_am_i): Likewise.
(usage): Describe new options.
(main): Handle new options.
Mostly from Michael Stone.
2001-06-09 09:00:24 +00:00
.
2001-05-24 22:08:45 +00:00
2001-05-27 13:46:52 +00:00
2001-05-27 13:46:52 +00:00
2001-04-29 07:01:12 +00:00
2001-06-05 08:08:09 +00:00
.
2001-05-21 07:35:22 +00:00
1998-05-03 20:46:29 +00:00
.
1997-02-04 03:29:06 +00:00
2001-05-19 05:58:18 +00:00
S
Description
GNU Coreutils
GPL-3.0
48 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 55.1%
Shell 29.1%
Perl 11.6%
Makefile 2.2%
M4 0.9%
Other 1.1%