summaryrefslogtreecommitdiff
path: root/usr.bin/split/split.1
diff options
context:
space:
mode:
authorbjh21 <bjh21@NetBSD.org>2003-06-10 16:57:05 +0000
committerbjh21 <bjh21@NetBSD.org>2003-06-10 16:57:05 +0000
commit0b52d9cd7b7458fe2d1b04d6cfe3499e6b5381fa (patch)
treea6cef1708ba63a7f7d4b477d7a38b616904fec39 /usr.bin/split/split.1
parent2ef4680e17c210f317a5813d67d51289854256a5 (diff)
From FreeBSD:
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, 6 insertions, 2 deletions
diff --git a/usr.bin/split/split.1 b/usr.bin/split/split.1
index cc2f1f54dcb..3158f529cce 100644
--- a/usr.bin/split/split.1
+++ b/usr.bin/split/split.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: split.1,v 1.9 2003/06/10 16:32:54 bjh21 Exp $
+.\" $NetBSD: split.1,v 1.10 2003/06/10 16:57:05 bjh21 Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -50,8 +50,12 @@ 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 or absent,
+.Nm
+reads from the standard input.
.Pp
The options are as follows:
.Bl -tag -width Ds