summaryrefslogtreecommitdiff
path: root/usr.bin/pkill
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/pkill')
-rw-r--r--usr.bin/pkill/pkill.122
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