procps/man
Craig Small 8c81808de0 pgrep: Use only --signal option for signal
When pgrep was used to match on signal, it makes sense to use
the same signal parsing code as pkill. Unfortunately the
"find the signal" part is a little too enthusaistic about what a
signal is, meaning

pgrep -u -42

fails because the signal becomes "42" and then there is no UID.

This is a bit sad for pkill but has been that way for a long
time. For pgrep this is new so now only the long form
pgrep --signal <X>
will work.

In addition, when using --signal if pgrep/pkill couldn't work
out what the signal was it just silently ignored it. It now
complains and aborts.

References:
 https://bugs.debian.org/1031765
 commit 866abacf88
2023-03-01 17:35:14 +11:00
..
free.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
kill.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
pgrep.1 pgrep: Use only --signal option for signal 2023-03-01 17:35:14 +11:00
pidof.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
pidwait.1 build-sys: Rearrange the manual pages 2022-08-29 18:07:43 +10:00
pkill.1 build-sys: Rearrange the manual pages 2022-08-29 18:07:43 +10:00
pmap.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
procio.3 build-sys: Rearrange the manual pages 2022-08-29 18:07:43 +10:00
procps_misc.3 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
procps_pids.3 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
procps.3 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
ps.1 misc: Update the copyrights for the ps and top sources 2023-02-08 16:53:04 +11:00
pwdx.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
skill.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
slabtop.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
snice.1 build-sys: Rearrange the manual pages 2022-08-29 18:07:43 +10:00
sysctl.8 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
sysctl.conf.5 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
tload.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
top.1 misc: Update the copyrights for the ps and top sources 2023-02-08 16:53:04 +11:00
uptime.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
vmstat.8 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
w.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00
watch.1 misc: Update copyright of remaining man pages 2023-02-08 18:28:55 +11:00