datmerge.icn: Program to merge data files

November 16, 2001; Gregg M. Townsend
This file is in the public domain.
Datmerge reads and combines arbitrary text-based data files that
contain whitespace-separated data.  For each data field, a single
value is written to standard output after applying a selected
operator (such as median or minimum) to the corresponding values
from all the input files.

Usage:  datmerge [-operator] filename...

Operators:
    -min or -minimum
    -max or -maximum
    -med or -median   (this is the default)
    -mean

Values convertible to numeric are treated as such.
All others are treated as strings.

Source code | Program Library Page | Icon Home Page