From 47208ac20a9fd5bdd4f9e2a9afe0738499b75c96 Mon Sep 17 00:00:00 2001 From: Garance A Drosehn Date: Mon, 16 Aug 2004 04:49:43 +0000 Subject: [PATCH] Document the fact that matching against a process command-name will only work on the first MAXCOMLEN (19) characters of that name. Noticed by: Peter Holm --- usr.bin/pkill/pkill.1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/usr.bin/pkill/pkill.1 b/usr.bin/pkill/pkill.1 index 6b633a6edb4..d0a29f5cfde 100644 --- a/usr.bin/pkill/pkill.1 +++ b/usr.bin/pkill/pkill.1 @@ -171,6 +171,22 @@ This option is valid only when given as the first argument to .Nm pkill . .El .Pp +If any +.Ar pattern +operands are specified, they are used as regular expressions to match +the command name or full argument list of each process. +If the +.Fl f +option is not specified, then the +.Ar pattern +will attempt to match the command name. +However, presently +.Fx +will only keep track of the first 19 characters of the command +name for each process. +Attempts to match any characters after the first 19 of a command name +will quietly fail. +.Pp Note that a running .Nm pgrep or