aboutsummaryrefslogtreecommitdiff
path: root/bin/pkill/pkill.1
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2008-09-30 17:30:39 +0000
committerEd Schouten <ed@FreeBSD.org>2008-09-30 17:30:39 +0000
commit18aa158f771bf46f35cae339850e8fffda764d46 (patch)
tree668455da92df506249c2bb5349453c05edd4fbcb /bin/pkill/pkill.1
parent3e460b606a81f1d5bbb501dac83a089118866398 (diff)
downloadsrc-18aa158f771bf46f35cae339850e8fffda764d46.tar.gz
src-18aa158f771bf46f35cae339850e8fffda764d46.zip
Improve the `pkill -t' handling, which I changed in my previous commit.
In my previous commit I disabled pkill(1)'s automatic prepending of the "tty" string when `pkill -t' was being used. Re-enable it and stat() both possible device names when called. Requested by: jhb, rwatson (MFC) MFC after: 1 month
Notes
Notes: svn path=/head/; revision=183502
Diffstat (limited to 'bin/pkill/pkill.1')
-rw-r--r--bin/pkill/pkill.17
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/pkill/pkill.1 b/bin/pkill/pkill.1
index 22b67bfd354c..725f27eff849 100644
--- a/bin/pkill/pkill.1
+++ b/bin/pkill/pkill.1
@@ -179,9 +179,10 @@ command.
Restrict matches to processes associated with a terminal in the
comma-separated list
.Ar tty .
-The
-.Pa /dev/
-prefix of the terminal names must be omitted.
+Terminal names may be of the form
+.Pa tty Ns Ar xx
+or the shortened form
+.Ar xx .
A single dash
.Pq Ql -
matches processes not associated with a terminal.