Commit Graph

8 Commits

Author SHA1 Message Date
abs 24cba1ac9a If a user or group is not known, report the problem user/group, rather than
the first user/group. Caused huge fun in error messages from large script.
Old:	pgrep -u root,NoSuchUser,daemon	-> pgrep: unknown user `root'
Now:	pgrep -u root,NoSuchUser,daemon	-> pgrep: unknown user `NoSuchUser'
2005-03-02 15:31:44 +00:00
soren c87f3766c2 Make usage() not overflow 80 char lines. 2004-02-15 17:03:30 +00:00
itojun 144fd6a2bf typo fix. do not go suicide by mistake. from millert@openbsd 2004-01-06 07:35:58 +00:00
kleink f624532a37 Add missing -u euid option to optstring; from Michael van Elst in
PR bin/18827.
2002-10-27 11:49:34 +00:00
ad eabe280b0e Exclude system processes when the match is inverted. 2002-03-06 12:02:18 +00:00
augustss ee19c52139 Fix 3 bugs in signal number decoding:
* invoking pkill without any arguments gave a core
  * an initial numeric prefix of a signal name was ignored, e.g. -88sigint
  * argc was not updated when the signal number was decoded.
2002-03-04 13:47:08 +00:00
ad 38b296bf9f s/LINT/lint/ 2002-03-01 11:29:46 +00:00
ad 3b8a0d4f4f pgrep and pkill: search the process table for processes with a particular
set of characteristics, and either print or signal the matching set. Mostly
compatible with the Solaris commands of the same name.
2002-03-01 11:21:58 +00:00