aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/cut/cut.1
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1999-02-02 14:26:39 +0000
committerEivind Eklund <eivind@FreeBSD.org>1999-02-02 14:26:39 +0000
commitd51c66250412112d6e57fc7d33aa6a3cf39edf12 (patch)
tree50916f3f71cf91015ff71984e8cf27e0006848d6 /usr.bin/cut/cut.1
parentbb25f0dd238cdc884f6d9da83cb6002ce1a46ab1 (diff)
downloadsrc-d51c66250412112d6e57fc7d33aa6a3cf39edf12.tar.gz
src-d51c66250412112d6e57fc7d33aa6a3cf39edf12.zip
Merge from NetBSD cut.1 rev 1.6 and cut.c rev 1.9, respectively. This
makes us conform to IEEE Std1003.2-1992 (``POSIX.2''). Obtained from: NetBSD (but with slight modifications).
Notes
Notes: svn path=/head/; revision=43531
Diffstat (limited to 'usr.bin/cut/cut.1')
-rw-r--r--usr.bin/cut/cut.118
1 files changed, 14 insertions, 4 deletions
diff --git a/usr.bin/cut/cut.1 b/usr.bin/cut/cut.1
index 3ba43ed914e8..80d36fa6d724 100644
--- a/usr.bin/cut/cut.1
+++ b/usr.bin/cut/cut.1
@@ -42,13 +42,17 @@
.Nd select portions of each line of a file
.Sh SYNOPSIS
.Nm cut
+.Fl b Ar list
+.Op Fl n
+.Op Ar
+.Nm cut
.Fl c Ar list
-.Ar
+.Op Ar
.Nm cut
.Fl f Ar list
.Op Fl d Ar delim
.Op Fl s
-.Ar
+.Op Ar
.Sh DESCRIPTION
The
.Nm cut
@@ -81,6 +85,10 @@ input line.
.Pp
The options are as follows:
.Bl -tag -width Fl
+.It Fl b Ar list
+The
+.Ar list
+specifies byte positions.
.It Fl c Ar list
The
.Ar list
@@ -94,6 +102,8 @@ The
.Ar list
specifies fields, delimited in the input by a single tab character.
Output fields are separated by a single tab character.
+.It Fl n
+Do not split multi-byte characters.
.It Fl s
Suppresses lines with no field delimiter characters.
Unless specified, lines with no delimiters are passed through unmodified.
@@ -106,5 +116,5 @@ exits 0 on success, 1 if an error occurred.
.Sh STANDARDS
The
.Nm cut
-utility is expected to conform to
-.St -p1003.2 .
+utility conforms to
+.St -p1003.2-92 .