
ksort is a simple sorting program. Text input is sorted line by line.
Unix/Linux systems are typically shipped with a program named sort.
This program implements parts of that programs functionality to
give W* users a sort program.
Numeric sorting allows floating point numbers like "14.3e9" when
the "-f" option is used.

The following command line options can be used:

ksort [-b] [-i] [-n | -f] [-r] [-m] [-o <outputfile>] [<inputfiles>]

-b                   Leading whitespaces are ignored.
-n                   Character-comparisons are case-insensitive.
-d                   Lines are started by long decimal numbers.
-f                   Lines are started by floating point numbers.
-i                   Sort order is reversed.
-m                   Merge multiple occurances of equal lines.
-o <outputfile>      Output is written to the specified file.
<inputfiles>         Files containing text lines to sort.
		     If no input files are specified stdin is read.

Options can be installed permanently by using the "-c" options, i.e.

  ksort -c -i

will adjust case-insensitive comparisons for all subsequent calls
to ksort.

Permanent preferences can be removed using the "-u" option, i.e.

  ksort -u

removes all permanent preferences.

To view the current permanent options use

  ksort -C

To invoke the program one time without the permanent options run
  
  ksort -r <options> ...


In dktools version 3 the ksort program will be replaced by the new dkt
program. This program is already available in the preview archives in the
3-preview directory in the download area.
The recent binary installation file for Windows dktools-win32-*.exe
already installs dkt.exe.
