Lines Matching full:sort

1 .\"	$OpenBSD: sort.1,v 1.45 2015/03/19 13:51:10 jmc Exp $
37 .Nm sort
38 .Nd sort or merge records (lines) of text and binary files
63 Comparisons are based on one or more sort keys extracted from
123 implies a stable sort.
131 Stable sort.
143 specifications, they apply globally to all sort keys.
156 .It Fl g , Fl Fl general-numeric-sort , Fl Fl sort=general-numeric
157 Sort by general numerical value.
165 .It Fl h , Fl Fl human-numeric-sort , Fl Fl sort=human-numeric
166 Sort by numerical value, but take into account the SI suffix,
168 Sort first by numeric sign (negative, zero, or
173 This sort option is useful for sorting the output of a single invocation
181 .It Fl M , Fl Fl month-sort , Fl Fl sort=month
182 Sort by month.
184 .It Fl n , Fl Fl numeric-sort , Fl Fl sort=numeric
185 Sort fields numerically by arithmetic value.
189 .It Fl R , Fl Fl random-sort , Fl Fl sort=random
190 Sort by a random order.
192 the equal keys sort together.
200 Even if multiple sort fields are specified,
203 Sort in reverse order.
204 .It Fl V , Fl Fl version-sort
205 Sort version numbers.
217 .It $ ls sort* | sort -V
218 .It sort-1.022.tgz
219 .It sort-1.23.tgz
220 .It sort-1.23.1.tgz
221 .It sort-1.024.tgz
222 .It sort-1.024.003.
223 .It sort-1.024.003.tgz
224 .It sort-1.024.07.tgz
225 .It sort-1.024.009.tgz
233 and end of a restricted sort key (see
250 Define a restricted sort key that has the starting position
317 In random sort, the file content is used as the source of the 'seed' data
319 Two invocations of random sort with the same seed data will use
337 Try to use radix sort, if the sort specifications allow.
338 The radix sort can only be used for trivial locales (C and POSIX),
339 and it cannot be used for numeric or month sort.
340 Radix sort is very fast and stable.
346 Try to use quick sort, if the sort specifications allow.
347 This sort algorithm cannot be used with
352 Try to use heap sort, if the sort specifications allow.
353 This sort algorithm cannot be used with
515 Locale settings that determine the number format used in numeric sort.
517 Locale settings that determine the month format used in month sort.
552 Default seed file for the random sort.
617 efficient choice of sort keys and key complexity.
618 The fastest sort is with locale C, on whole lines,