accept numerical user IDs
authorkn <kn@openbsd.org>
Fri, 10 Nov 2023 09:17:02 +0000 (09:17 +0000)
committerkn <kn@openbsd.org>
Fri, 10 Nov 2023 09:17:02 +0000 (09:17 +0000)
commit52e706cafb7498c8135e3e00753151ef3ee86902
treeaa9ac64303b33d5354d87ef8a5c6c404a196a719
parent203153b6ff3680d530b1d6684e51573e587c25b9
accept numerical user IDs

Turn [-U username] into [-U user] to match top(1)/pgrep(1)/fstat(1) -U/-u
taking both "root" and "0".

Feedback OK millert
bin/ps/ps.1
bin/ps/ps.c