Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!mordor!lll-tis!ames!ucbcad!ucbvax!hplabs!sdcrdcf!trwrb!cadovax!mitchell From: mitchell@cadovax.UUCP (Mitchell Lerner) Newsgroups: comp.unix.questions Subject: Merge() for System V... Message-ID: <1628@cadovax.UUCP> Date: Fri, 26-Jun-87 14:52:09 EDT Article-I.D.: cadovax.1628 Posted: Fri Jun 26 14:52:09 1987 Date-Received: Sat, 27-Jun-87 19:39:45 EDT Reply-To: mitchell@cadovax.UUCP (Mitchell F. Lerner) Distribution: world Organization: Contel Business Systems, Torrance, CA Lines: 29 Keywords: Does anyone have a general purpose merge() that would be good to use for this application?... Firstly, I'd like to thank those who responded to my sort() inquiry. We are putting together a way sort a database of records. The database/file may be quite large (10 to 300 MB or more(?)). Now, of course it would be impossible to load it all into core and sort there, so we are going to need to look at the file as a series of segments, sort each segment and then merge all of the segments. We received many lovely psort(), qsort(), etc... routines from the net. I also discovered that there is a qsort(3C) in Unix itself. We might use that one in that it is supported (no jokes please) a could fast. I cannot find a corrisponding "merge" routine (paste?) to use. Is there one in the Unix release that would be best? Does anyone have a general purpose merge() that would be good to use for this application? P.S. Please point out any problems that you may see with this or that I might run into implementing this. Thanks, Mitchell