mksort man page on Knoppix

Man page or keyword search:  
man Server   3132 pages
apropos Keyword Search (all sections)
Output format
Knoppix logo
[printable version]

MKSORT(8)			     Local			     MKSORT(8)

NAME
       mksort - sort the standard input, allowing arbitrarily long lines

SYNOPSIS
       /usr/lib/smail/mksort [ -f ] [ file ...	]

DESCRIPTION
       Mksort takes lines as input, sorts them by the first field and writes
       them to the standard output.  The first field is delimited by white‐
       space or by the colon character (:).  The lines can be of any length,
       as long as the entire input can be stored in memory.  With -f the sort
       is performed independent of case, so that the letter ``A'' compares
       equal to the letter ``a'' and ``a'' is always less than ``B.''

       If no input files are specified, the standard input is read.  In addi‐
       tion, if a filename of - is given, the standard input is inserted at
       that point.

       The mksort program can be used in combination with mkline(8) to produce
       sorted files containing arbitrarily large aliases or paths which can
       then be read by a smail(8) pathalias router or aliasfile director.  The
       router or director should be configured to use the bsearch file access
       protocol.  See smail(5) for more information on routers and directors.

EXAMPLE
       As an example of the use of mksort with mkline consider a file,
       aliases, containing the following aliasing information:

	      Postmaster:	hustead		      # Ted Hustead, jr.
	      UUCP-Postmasters: tron, chongo	      # namei contacts
				yamato		      # kremvax contact
	      tron:		tron@namei.uucp (Ronald S. Karr)
	      yamato:		yamato@kremvax.ussr.comm (Yamato T. Yankelovich)
	      chongo:		chongo@eek.uts.amdahl.com (Landon Curt Noll)

       Given this file, the command mkline aliases | mksort -f will yield:

	      chongo:chongo@eek.uts.amdahl.com
	      Postmaster:hustead
	      tron:tron@namei.uucp
	      UUCP-Postmasters:tron,chongo yamato
	      yamato:yamato@kremvax.ussr.comm

SEE ALSO
       mkline(8), mkdbm(8), smail(5), smail(8), pathalias(8).

COPYRIGHT
       Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
       Copyright (C) 1992 Ronald S. Karr

       See a file COPYING, distributed with the source code, or type smail
       -bc, to view distribution rights and restrictions associated with this
       software.

Smail-3			       RELEASE-3_2_0_115		     MKSORT(8)
[top]

List of man pages available for Knoppix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net