summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/sort/sort.120
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/sort/sort.1 b/usr.bin/sort/sort.1
index d35b37e552e..6b523b1d28e 100644
--- a/usr.bin/sort/sort.1
+++ b/usr.bin/sort/sort.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sort.1,v 1.56 2016/10/17 02:58:29 lteo Exp $
+.\" $OpenBSD: sort.1,v 1.57 2017/06/10 14:54:42 schwarze Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" @(#)sort.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: October 17 2016 $
+.Dd $Mdocdate: June 10 2017 $
.Dt SORT 1
.Os
.Sh NAME
@@ -77,11 +77,11 @@ the standard input is used.
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl C, Fl Fl check=silent|quiet
+.It Fl C , Fl Fl check Ns = Ns Cm silent Ns | Ns Cm quiet
Check that the single input file is sorted.
If it is, exit 0; if it's not, exit 1.
In either case, produce no output.
-.It Fl c, Fl Fl check
+.It Fl c , Fl Fl check
Like
.Fl C ,
but additionally write a message to
@@ -146,7 +146,7 @@ Consider only blank spaces and alphanumeric characters in comparisons.
.It Fl f , Fl Fl ignore-case
Consider all lowercase characters that have uppercase
equivalents to be the same for purposes of comparison.
-.It Fl g, Fl Fl general-numeric-sort, Fl Fl sort=general-numeric
+.It Fl g , Fl Fl general-numeric-sort , Fl Fl sort Ns = Ns Cm general-numeric
Sort by general numerical value.
As opposed to
.Fl n ,
@@ -155,7 +155,7 @@ It has a more
permissive format than that allowed by
.Fl n
but it has a significant performance drawback.
-.It Fl h, Fl Fl human-numeric-sort, Fl Fl sort=human-numeric
+.It Fl h , Fl Fl human-numeric-sort , Fl Fl sort Ns = Ns Cm human-numeric
Sort by numerical value, but take into account the SI suffix,
if present.
Sorts first by numeric sign (negative, zero, or
@@ -171,10 +171,10 @@ or
options (human-readable).
.It Fl i , Fl Fl ignore-nonprinting
Ignore all non-printable characters.
-.It Fl M, Fl Fl month-sort, Fl Fl sort=month
+.It Fl M , Fl Fl month-sort , Fl Fl sort Ns = Ns Cm month
Sort by month abbreviations.
Unknown strings are considered smaller than valid month names.
-.It Fl n , Fl Fl numeric-sort, Fl Fl sort=numeric
+.It Fl n , Fl Fl numeric-sort , Fl Fl sort Ns = Ns Cm numeric
An initial numeric string, consisting of optional blank space, optional
minus sign, and zero or more digits (including decimal point)
.\" with
@@ -183,7 +183,7 @@ minus sign, and zero or more digits (including decimal point)
.\" (as defined in the current locale),
is sorted by arithmetic value.
Leading blank characters are ignored.
-.It Fl R, Fl Fl random-sort, Fl Fl sort=random
+.It Fl R , Fl Fl random-sort , Fl Fl sort Ns = Ns Cm random
Sort lines in random order.
This is a random permutation of the inputs with the exception that
equal keys sort together.
@@ -196,7 +196,7 @@ If multiple sort fields are specified,
the same random hash function is used for all of them.
.It Fl r , Fl Fl reverse
Sort in reverse order.
-.It Fl V, Fl Fl version-sort
+.It Fl V , Fl Fl version-sort
Sort version numbers.
The input lines are treated as file names in form
PREFIX VERSION SUFFIX, where SUFFIX matches the regular expression