[BACK]Return to sort.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / sort

Diff for /src/usr.bin/sort/sort.1 between version 1.56 and 1.57

version 1.56, 2016/10/17 02:58:29 version 1.57, 2017/06/10 14:54:42
Line 77 
Line 77 
 .Pp  .Pp
 The options are as follows:  The options are as follows:
 .Bl -tag -width Ds  .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.  Check that the single input file is sorted.
 If it is, exit 0; if it's not, exit 1.  If it is, exit 0; if it's not, exit 1.
 In either case, produce no output.  In either case, produce no output.
 .It Fl c, Fl Fl check  .It Fl c , Fl Fl check
 Like  Like
 .Fl C ,  .Fl C ,
 but additionally write a message to  but additionally write a message to
Line 146 
Line 146 
 .It Fl f , Fl Fl ignore-case  .It Fl f , Fl Fl ignore-case
 Consider all lowercase characters that have uppercase  Consider all lowercase characters that have uppercase
 equivalents to be the same for purposes of comparison.  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.  Sort by general numerical value.
 As opposed to  As opposed to
 .Fl n ,  .Fl n ,
Line 155 
Line 155 
 permissive format than that allowed by  permissive format than that allowed by
 .Fl n  .Fl n
 but it has a significant performance drawback.  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,  Sort by numerical value, but take into account the SI suffix,
 if present.  if present.
 Sorts first by numeric sign (negative, zero, or  Sorts first by numeric sign (negative, zero, or
Line 171 
Line 171 
 options (human-readable).  options (human-readable).
 .It Fl i , Fl Fl ignore-nonprinting  .It Fl i , Fl Fl ignore-nonprinting
 Ignore all non-printable characters.  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.  Sort by month abbreviations.
 Unknown strings are considered smaller than valid month names.  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  An initial numeric string, consisting of optional blank space, optional
 minus sign, and zero or more digits (including decimal point)  minus sign, and zero or more digits (including decimal point)
 .\" with  .\" with
Line 183 
Line 183 
 .\" (as defined in the current locale),  .\" (as defined in the current locale),
 is sorted by arithmetic value.  is sorted by arithmetic value.
 Leading blank characters are ignored.  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.  Sort lines in random order.
 This is a random permutation of the inputs with the exception that  This is a random permutation of the inputs with the exception that
 equal keys sort together.  equal keys sort together.
Line 196 
Line 196 
 the same random hash function is used for all of them.  the same random hash function is used for all of them.
 .It Fl r , Fl Fl reverse  .It Fl r , Fl Fl reverse
 Sort in reverse order.  Sort in reverse order.
 .It Fl V, Fl Fl version-sort  .It Fl V , Fl Fl version-sort
 Sort version numbers.  Sort version numbers.
 The input lines are treated as file names in form  The input lines are treated as file names in form
 PREFIX VERSION SUFFIX, where SUFFIX matches the regular expression  PREFIX VERSION SUFFIX, where SUFFIX matches the regular expression

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57