summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-04-05 14:20:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-04-05 14:20:23 +0000
commit65d7b6ed81e746959642b2142c5da5834a1cfd69 (patch)
tree07bf8f2c0751a4070da69f6336f589a4236fc017
parent7b6ee6c7b9481d5c10c15bb07310a7c9e2d39886 (diff)
Document that some sorts uses -b w/o key fields.
-rw-r--r--usr.bin/sort/sort.113
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.bin/sort/sort.1 b/usr.bin/sort/sort.1
index 7d927290254..c1c9f21e89f 100644
--- a/usr.bin/sort/sort.1
+++ b/usr.bin/sort/sort.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sort.1,v 1.53 2015/04/05 13:56:04 millert Exp $
+.\" $OpenBSD: sort.1,v 1.54 2015/04/05 14:20:22 millert Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -585,6 +585,17 @@ Some are provided for compatibility with GNU
.Nm ,
others are specific to this implementation.
.Pp
+Some implementations of
+.Nm
+honor the
+.Fl b
+option even when no key fields are specified.
+This implementation follows historic practice and
+.St -p1003.1-2008
+in only honoring
+.Fl b
+when it precedes a key field.
+.Pp
The historic practice of allowing the
.Fl o
option to appear after the