diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2020-11-14 14:06:43 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2020-11-14 14:06:43 +0000 |
commit | 394873082e80baf3af1755a969852243db05682a (patch) | |
tree | f4481043fd7eadacbdad0d20c189d3a958745177 | |
parent | 9f0fc9fc8f04330d9dd4db6e7e8451ad18f885a9 (diff) |
Simplify wording of the matching rules, with help and ok jmc@
-rw-r--r-- | usr.bin/pkill/pkill.1 | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/usr.bin/pkill/pkill.1 b/usr.bin/pkill/pkill.1 index f64c84a5a21..d8719b79991 100644 --- a/usr.bin/pkill/pkill.1 +++ b/usr.bin/pkill/pkill.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkill.1,v 1.24 2018/08/31 15:56:42 naddy Exp $ +.\" $OpenBSD: pkill.1,v 1.25 2020/11/14 14:06:42 otto Exp $ .\" $NetBSD: pkill.1,v 1.8 2003/02/14 15:59:18 grant Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: August 31 2018 $ +.Dd $Mdocdate: November 14 2020 $ .Dt PKILL 1 .Os .Sh NAME @@ -174,17 +174,15 @@ This option is valid only when given as the first argument to .Pp If any .Ar pattern -operands are specified, they are used as -extended regular expressions to match the command name -or, if +operands are specified, +they are used as extended regular expressions to match the command name. +Only the first 16 characters of the command name are matched; +attempts to match any characters after the first 16 will silently fail. +If .Fl f -is specified, the full argument list of each process. -However, presently -.Ox -will only keep track of the first 16 characters of the command name -for each process. -Attempts to match any characters after the first 16 of a -command name will silently fail. +is specified, the full argument list, +including the full command name, +of each process is matched. .Pp Note that a running .Nm pgrep |