summaryrefslogtreecommitdiffstats
path: root/usr.bin/cut/cut.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cut/cut.1')
-rw-r--r--usr.bin/cut/cut.111
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/cut/cut.1 b/usr.bin/cut/cut.1
index f0c30d0..0279ec7 100644
--- a/usr.bin/cut/cut.1
+++ b/usr.bin/cut/cut.1
@@ -61,15 +61,22 @@ utility selects portions of each line (as specified by
.Ar list )
from each
.Ar file
-(or the standard input by default), and writes them to the
-standard output.
+and writes them to the standard output.
+If no
+.Ar file
+arguments are specified, or a file argument is a single dash
+.Pq Sq Fl ,
+.Nm
+reads from from the standard input.
The items specified by
.Ar list
can be in terms of column position or in terms of fields delimited
by a special character.
Column numbering starts from 1.
.Pp
+The
.Ar list
+option argument
is a comma or whitespace separated set of increasing numbers and/or
number ranges.
Number ranges consist of a number, a dash
OpenPOWER on IntegriCloud