From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,14bff0642983a2a5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-29 07:30:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!tdsnet-transit!newspeer.tds.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: sorting large numbers of large records Date: 29 Jul 2003 09:30:51 -0500 Organization: LJK Software Message-ID: <41Xlb56gn5gm@eisner.encompasserve.org> References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1059489017 15621 192.135.80.34 (29 Jul 2003 14:30:17 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Tue, 29 Jul 2003 14:30:17 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:40949 Date: 2003-07-29T09:30:51-05:00 List-Id: In article , "Brien L. Christesen" writes: > That is a good point, and I looked into the unix sort command. The only > problem is that as far as I can tell, that only sorts text files. I have > a file of binary records, so I have no idea how I could use a system sort > command to do it. Is there any way that would work? Even the complex Sort Specification format on VMS does not provide for sorting based on non-ascii fields. To use the built-in VMS sort facility on non-ascii fields, you have to use the Callable Sort entrypoints, giving your own User Compare routine. Perhaps the same thing is true on one or more flavors of Unix.