Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site otto.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!qantel!hplabs!sdcrdcf!otto!carl From: carl@otto.UUCP (Carl Shapiro) Newsgroups: net.unix-wizards Subject: sort bug seeks wizard Message-ID: <108@otto.UUCP> Date: Sun, 4-Aug-85 07:44:48 EDT Article-I.D.: otto.108 Posted: Sun Aug 4 07:44:48 1985 Date-Received: Tue, 6-Aug-85 11:35:20 EDT Reply-To: carl@otto.UUCP (Carl Shapiro) Organization: Las Vegas Sun -- Las Vegas, NV Lines: 22 Expires: References: Sender: Followup-To: Distribution: Keywords: Running 4.2 on a 750, I have encountered a bug in sort, such that the output of "sort -u", when run against a particular file, is missing one line. Unfortunately, the file that produces this error is 136550 bytes (45516 lines), and I have been unable to extract a reasonably small subset of the file which will demonstrate the bug. Nevertheless, I consider this extremely serious. I'll never know what erroneous reports my application has turned out; I use sort a lot, and it was only by accident that I noticed the problem with a file this large. I would be glad to send any interested party a copy of the file, but I think that it is too big to send over the net. Everything seems to go ok until the final call to the "merge" routine, and although I have come up with a patch that fixes this instance of the problem, the fact that I can't replicate the bug with a smaller file verifies that my understanding of sort is inadequate. Does any of this sound familiar? Any help or suggestions would be greatly appreciated. Carl Shapiro ...sdcrdcf!otto!carl