dbmerge2 (1) - Linux Manuals
dbmerge2: merge exactly two inputs in sorted order based on the the specified columns
NAME
dbmerge2 - merge exactly two inputs in sorted order based on the the specified columns
SYNOPSIS
dbmerge2 --input A.fsdb --input B.fsdb [-T TemporaryDirectory] [-nNrR] column [column...]
or
Inputs must have identical schemas (columns, column order,
and field separators).
Dbmerge2 consumes a fixed amount of memory regardless of input size.
Although described above as a command line too, the command line
version of dbmerge2 is not installed by default.
Dbmerge2 is used primarily internal to perl;
dbmerge(1) is the command-line tool for user use.
Sort specification options (can be interspersed with column names):
This module also supports the standard fsdb options:
File b.fsdb:
or
This program is distributed under terms of the GNU general
public license, version 2. See the file COPYING
with the distribution for details.
DESCRIPTION
Merge exactly two sorted input files, producing one sorted result.
Inputs can both be specified with "--input", or one can come
from standard input and the other from "--input".
OPTIONS
General option:
SAMPLE USAGE
Input:
File a.fsdb:
#fsdb cid cname
11 numanal
10 pascal
#fsdb cid cname
12 os
13 statistics
Command:
dbmerge2 --input a.fsdb --input b.fsdb cname
cat a.fsdb | dbmerge2 --input b.fsdb cname
Output:
#fsdb cid cname
11 numanal
12 os
10 pascal
13 statistics
# | dbmerge2 --input a.fsdb --input b.fsdb cname
AUTHOR and COPYRIGHT
Copyright (C) 1991-2015 by John Heidemann <johnh [at] isi.edu>