summaryrefslogtreecommitdiffstats
path: root/usr.bin/split/split.1
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-05-27 05:27:10 +0000
committertjr <tjr@FreeBSD.org>2002-05-27 05:27:10 +0000
commitfd517aac907b48fb1d4ec269b1275b025df5f61b (patch)
treeddc5dd56ed26b8a5c558eef2cd8398265128a639 /usr.bin/split/split.1
parent90158e3b6850f5dbf419a77a9564da5222fe331e (diff)
downloadFreeBSD-src-fd517aac907b48fb1d4ec269b1275b025df5f61b.zip
FreeBSD-src-fd517aac907b48fb1d4ec269b1275b025df5f61b.tar.gz
Allow "-" to be specified as an operand as well as an option.
SUSV3 requires something like "split -- -" to work. Document the "-" operand.
Diffstat (limited to 'usr.bin/split/split.1')
-rw-r--r--usr.bin/split/split.18
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/split/split.1 b/usr.bin/split/split.1
index d6305ce..c4c3fee 100644
--- a/usr.bin/split/split.1
+++ b/usr.bin/split/split.1
@@ -50,8 +50,14 @@ The
.Nm
utility reads the given
.Ar file
-(or standard input if no file is specified)
and breaks it up into files of 1000 lines each.
+If
+.Ar file
+is a single dash
+.Pq Ql \&-
+or absent,
+.Nm
+reads from the standard input.
.Pp
The options are as follows:
.Bl -tag -width Ds
OpenPOWER on IntegriCloud