From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,cf508d9a60ccded2 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,cf508d9a60ccded2 X-Google-Attributes: gidfee84,public X-Google-Thread: 1012a6,cf508d9a60ccded2 X-Google-Attributes: gid1012a6,public From: era eriksson Subject: Re: File Sort: How good is Unix sort? Date: 1997/10/25 Message-ID: #1/1 X-Deja-AN: 286104530 X-Pgp-Fingerprint: 85 40 A8 84 71 26 2C ED 15 CF 22 82 91 01 D4 42 References: <34515C4D.5460D0FE@calweb.com> To: biju@calweb.com X-Complaints-To: usenet@oravannahka.Helsinki.FI X-Trace: oravannahka.Helsinki.FI 877785163 26057 (None) 128.214.78.10 Organization: People Who Are Not Old Enough For Unix (Honorary Member Emeritus) Newsgroups: comp.unix.questions,comp.unix.osf.osf1,comp.unix.shell On Fri, 24 Oct 1997 19:41:19 -0700, Biju Srinivasan posted to comp.unix.questions,comp.unix.osf.osf1,comp.unix.shell: > I have a requirement where i need to sort and merge 2 flat files on a > Dec Alpha unix server. Are the files presorted? > Will unix sort work for me? Are there any freeware utilities available > for my need? Each vendor's sort(1) will probably be different. If you have the source, look at the source. If not, you might want to try a version for which you do get the source. GNU sort (part of the textutils package; prep.ai.mit.edu:/pub/gnu/textutils-*.tar.gz or a mirror close to you) comes with source and has an option to merge presorted files efficiently. Hope this helps, /* era */ Followups should probably go to only one newsgroup but I can't really decide which ... -- Paparazzi of the Net: No matter what you do to protect your privacy, they'll hunt you down and spam you.