mkline man page on Knoppix

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

MKLINE(8)			     Local			     MKLINE(8)

NAME
       mkline - fold an alias file, paths file or mailing list into one-line
       records

SYNOPSIS
       /usr/lib/smail/mkline [ -ltn ] [ file ...  ]

DESCRIPTION
       Mkline takes alias files, path files or mailing list files as input and
       produces output records containing one complete entry per line with all
       comments and whitespace replaced by zero or one spaces.	One space is
       used if the concatenation of two tokens would otherwise cause ambigu‐
       ity.  For mailing lists, the -l flag should be specified and the output
       will be a list of addresses.  Otherwise, the input is assumed to be
       alias files or path files and the output is single line entries, with
       the key always separated from the data by a single colon character
       (``:'').

       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.

       If the -t flag is specified, then an ASCII TAB character separates key
       from data, rather than a colon character.

       If the -n flag is specified, then keys are not extracted from the
       input, so that all tokens pass through unchanged, with comments and
       whitespace still being reduced to the minimum required for unambiguous
       tokens.

       The -t and -n flags have no effect when processing mailing lists.

EXAMPLES
       If the file aliases contains:

	      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)

       then the command mkline aliases will produce:

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

       As an example of using mkline to compress mailing lists, consider the
       mailing list:

	      tron@namei.uucp,tron@uts.amdahl.com     # Ronald S. Karr
	      yamato@kremvax.ussr.comm		      # Yamato T. Yankelovich
	      chongo@eek.uts.amdahl.com		      # Landon Curt Noll
	      Wilt . (the Stilt) Chamberlain@NBA.US   # RFC822 doc example

       The command mkline -l applied to this list will produce:

	      tron@namei.uucp
	      tron@uts.amdahl.com
	      yamato@kremvax.ussr.comm
	      chongo@eek.uts.amdahl.com
	      Wilt.Chamberlain@NBA.US

SEE ALSO
       mksort(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		     MKLINE(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