From 65d7b6ed81e746959642b2142c5da5834a1cfd69 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 5 Apr 2015 14:20:23 +0000 Subject: Document that some sorts uses -b w/o key fields. --- usr.bin/sort/sort.1 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'usr.bin/sort/sort.1') 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 -- cgit v1.2.3