summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nghook
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-07-14 14:47:15 +0000
committercharnier <charnier@FreeBSD.org>2002-07-14 14:47:15 +0000
commitd2168fe021bd1693c1038503e09d3d74dd8b6f36 (patch)
tree1cffbfcbeace5b3e6b01d3c6b67a9c10233bc810 /usr.sbin/nghook
parent745a7b1537c2ebb511bcf928366eefe72af77dac (diff)
downloadFreeBSD-src-d2168fe021bd1693c1038503e09d3d74dd8b6f36.zip
FreeBSD-src-d2168fe021bd1693c1038503e09d3d74dd8b6f36.tar.gz
The .Nm utility
Diffstat (limited to 'usr.sbin/nghook')
-rw-r--r--usr.sbin/nghook/nghook.89
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/nghook/nghook.8 b/usr.sbin/nghook/nghook.8
index 48a0e51..d786a3a 100644
--- a/usr.sbin/nghook/nghook.8
+++ b/usr.sbin/nghook/nghook.8
@@ -50,8 +50,9 @@ node
.Ar path
.Op Ar hookname
.Sh DESCRIPTION
+The
.Nm
-creates a
+utility creates a
.Xr ng_socket 4
socket type node and connects it to hook
.Ar hookname
@@ -66,8 +67,9 @@ is assumed.
At this point all data written to standard input is sent
to the node and all data received from the node is relayed
to standard output.
+The
.Nm
-exits when
+utility exits when
.Dv EOF
is detected on standard input.
.Pp
@@ -85,8 +87,9 @@ Loops all received data back to the hook in addition to writing it
to standard output.
.It Fl n
Don't attempt to read any data from standard input.
+The
.Nm
-will continue reading from the node until stopped by a signal.
+utility will continue reading from the node until stopped by a signal.
.El
.Sh BUGS
Although all input is read in unbuffered mode,
OpenPOWER on IntegriCloud