home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RBBS in a Box Volume 1 #2
/
RBBS_vol1_no2.iso
/
014r
/
merge.zip
/
MERGE.DOC
Wrap
Text File
|
1986-11-07
|
768b
|
26 lines
/* MERGE.C
Copyright (c) 1984, Gordon Lee Waite
413 W. Pleasant Street
Maquoketa, IA 52060
summary: merge infile1 infile2 outfile
arguments: infile1 and infile2 are the two pre-sorted input
files.
outfile is the name of the output file.
options: none
description:
MERGE is used to merge two sorted files into one larger sorted
file. The program reads lines from each of the two input
files, compares them, then writes the "lesser" line to the
output file. Comparison only continues until a difference is
found, so line length does not play a part in the merge. The
output of this program can be sent to a file, or to the console
by use of the CON: device name for the output filename.
*/