summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-07-10 11:18:33 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-07-10 11:18:33 +0000
commitee93a97a3369a3408df0eeba17f0f39f894b5893 (patch)
tree194783a730dfe51ee6bf5bad4e3a76af4a8758fa /usr.bin
parent91c60c42caa4e9c8be2f7f0e68ceee10f800ddd2 (diff)
add a note that fields are returned in input order. ok deraadt sthen
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cut/cut.17
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/cut/cut.1 b/usr.bin/cut/cut.1
index 60449af1308..732ad1f6364 100644
--- a/usr.bin/cut/cut.1
+++ b/usr.bin/cut/cut.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cut.1,v 1.22 2014/02/02 14:16:22 jmc Exp $
+.\" $OpenBSD: cut.1,v 1.23 2014/07/10 11:18:32 tedu Exp $
.\" $NetBSD: cut.1,v 1.6 1995/10/02 20:19:26 jtc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -33,7 +33,7 @@
.\"
.\" @(#)cut.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: February 2 2014 $
+.Dd $Mdocdate: July 10 2014 $
.Dt CUT 1
.Os
.Sh NAME
@@ -88,6 +88,8 @@ Numbers and number ranges may be repeated, overlapping, and in any order.
It is not an error to select fields or columns not present in the
input line.
.Pp
+Fields are output in the same order as input, not in the order selected.
+.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl b Ar list
@@ -135,6 +137,7 @@ Show the names and login times of logged in users:
.Pp
.Dl "$ who | cut -c 1-8,18-30"
.Sh SEE ALSO
+.Xr awk 1 ,
.Xr paste 1
.Sh STANDARDS
The