summaryrefslogtreecommitdiffstats
path: root/bin/cat/cat.1
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-09-15 00:39:14 +0000
committerdillon <dillon@FreeBSD.org>2001-09-15 00:39:14 +0000
commit0718b5e9edcc88aca0e1446f0c8c767c0b2e5378 (patch)
tree196448d35e875a881b5d4c25d49b4703f8e92caa /bin/cat/cat.1
parent47b4d88f66e63f666546be725331b889c5fbefb2 (diff)
downloadFreeBSD-src-0718b5e9edcc88aca0e1446f0c8c767c0b2e5378.zip
FreeBSD-src-0718b5e9edcc88aca0e1446f0c8c767c0b2e5378.tar.gz
Give /bin/cat the ability to connect to and read unix-domain sockets
MFC after: 1 week
Diffstat (limited to 'bin/cat/cat.1')
-rw-r--r--bin/cat/cat.17
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/cat/cat.1 b/bin/cat/cat.1
index a8eead6..df7d2e1 100644
--- a/bin/cat/cat.1
+++ b/bin/cat/cat.1
@@ -58,7 +58,12 @@ is a single dash
.Pq Sq \&-
or absent,
.Nm
-reads from the standard input.
+reads from the standard input. If
+.Ar file
+is a unix domain socket,
+.Nm
+connects to it and then reads it until EOF. This complements the unix-domain
+binding capability available in inetd.
.Pp
The options are as follows:
.Bl -tag -width indent
OpenPOWER on IntegriCloud