home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:13383 comp.unix.programmer:5275 comp.unix.shell:4689
- Path: sparky!uunet!portal!lll-winken!fnnews.fnal.gov!mp.cs.niu.edu!linac!att!cbnewsi!ft
- From: ft@cbnewsi.cb.att.com (frederick.d.true)
- Newsgroups: comp.unix.questions,comp.wanted,comp.unix.programmer,comp.unix.shell
- Subject: Need decompress/merge routine
- Keywords: merge compress
- Message-ID: <1992Nov13.220456.25986@cbnewsi.cb.att.com>
- Date: 13 Nov 92 22:04:56 GMT
- Followup-To: ftrue@attmail.att.com
- Organization: AT&T
- Lines: 23
-
- Is anyone aware of an existing method to merge/sort compressed files given
- a sort key? In other words, I have 10 large compressed files, sorted by
- a particular key, and I need to merge them in sorted order into another
- compressed file. The files are too large to have all uncompressed on the
- system.
-
- What I need is some sort of utility ala 'sort -m' which will decompress
- and buffer input files while merging. Is there such a beast? Is there another
- obvious way of doing this that I'm neglecting? I realize that I could polyphase
- merge them two at a time, but I'd rather not. The files are very large and
- each merge stage would take hours.
-
- I'm just about to write my own merge routine, building in the compress/
- decompress routines as an option for each input file, but I thought I'd
- see what's out there before I started.
-
- Any suggestions would be appreciated,
-
- Please e-mail to: ftrue@attmail.att.com
-
- --
- Fred True
- AT&T
-