diff options
author | eivind <eivind@FreeBSD.org> | 1999-02-02 14:56:55 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1999-02-02 14:56:55 +0000 |
commit | eac18e1b61921f00296eb85595f676b5410fadb8 (patch) | |
tree | 2cb16e1848f07d8a2deb52f599342fdda051d00a /usr.bin/cut/cut.1 | |
parent | 040ae947ad12478255f12f72bfbf6dee22b0b036 (diff) | |
download | FreeBSD-src-eac18e1b61921f00296eb85595f676b5410fadb8.zip FreeBSD-src-eac18e1b61921f00296eb85595f676b5410fadb8.tar.gz |
Bring in use of strsep() to handle bad input better, and clean up
some text.
Obtained from: Merge from OpenBSD
(cut.1 up to OpenBSD rev 1.3, cut.c up to OpenBSD rev 1.6)
Diffstat (limited to 'usr.bin/cut/cut.1')
-rw-r--r-- | usr.bin/cut/cut.1 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/cut/cut.1 b/usr.bin/cut/cut.1 index 80d36fa..fd1c92d 100644 --- a/usr.bin/cut/cut.1 +++ b/usr.bin/cut/cut.1 @@ -67,11 +67,11 @@ The items specified by can be in terms of column position or in terms of fields delimited by a special character. Column numbering starts from 1. .Pp -.Ar List +.Ar list is a comma or whitespace separated set of increasing numbers and/or number ranges. Number ranges consist of a number, a dash -.Pq Li \- , +.Pq Sq \- , and a second number and select the fields or columns from the first number to the second, inclusive. @@ -109,8 +109,9 @@ Suppresses lines with no field delimiter characters. Unless specified, lines with no delimiters are passed through unmodified. .El .Pp -.Nm Cut -exits 0 on success, 1 if an error occurred. +The +.Nm cut +utility exits 0 on success or 1 if an error occurred. .Sh SEE ALSO .Xr paste 1 .Sh STANDARDS |