Add -d, -f and -i flags to sort(1)

Here's the patch with updated manpage and usage().
This commit is contained in:
pekka.jylha.ollila@gmail.com
2016-02-16 02:42:25 +02:00
committed by sin
parent ae52820891
commit fad1d35357
2 changed files with 69 additions and 2 deletions

8
sort.1
View File

@@ -6,7 +6,7 @@
.Nd sort lines
.Sh SYNOPSIS
.Nm
.Op Fl Cbcmnru
.Op Fl Cbcdfimnru
.Op Fl o Ar outfile
.Op Fl t Ar delim
.Op Fl k Ar key ...
@@ -35,6 +35,12 @@ The same as
.Fl C
except that when disorder is detected, a message is written to stderr
indicating the location of the disorder.
.It Fl d
Skip non-whitespace and non-alphanumeric characters.
.It Fl f
Ignore letter case when sorting.
.It FL i
Skip non-printable characters.
.It Fl k Ar key
Specify a key definition of the form
.Sm off