Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 Apollo 5/13/85; site apollo.uucp
Path: utzoo!utcsri!ubc-vision!uw-beaver!apollo!rees
From: rees@apollo.uucp (Jim Rees)
Newsgroups: net.news.b
Subject: Re: Bad history file: help needed to fix
Message-ID: <29fdfdaf.1de6@apollo.uucp>
Date: Thu, 7-Nov-85 07:58:26 EST
Article-I.D.: apollo.29fdfdaf.1de6
Posted: Thu Nov  7 07:58:26 1985
Date-Received: Fri, 8-Nov-85 08:57:30 EST
References: <411@nicmad.UUCP>
Organization: Apollo Computer, Chelmsford, Mass.
Lines: 13

I never understood why expire -r wants to sort the output anyway.
Certainly none of the news software cares what order the lines are
in, and the sort can't work because of the format of the date string.

I hacked our expire to not do the sort, and it works fine:

#ifdef apollo
			nhfd = xfopen(NARTFILE, "w");
#else
			sprintf(afline, "sort +2 >%s", NARTFILE);
			if ((nhfd = popen(afline, "w")) == NULL)
				xerror("Cannot exec %s", NARTFILE);
#endif