Article View: news.software.nntp
Article #7257Re: newsfeed wanted.
From: Mark Delany
Date: Sun, 05 May 1996 00:00
Date: Sun, 05 May 1996 00:00
28 lines
1225 bytes
1225 bytes
alan@papaioea.manawatu.gen.nz (Alan Brown) writes:
>>Also, make sure you sort so that all of the control articles go first
>>as it gives cancels a chance to catch up and get ahead as they
>>propogate around the net.
>Anyone want to post a perl/sh/whatever fragment to do this?
Well, the one I use is embarrassingly triv. Instead of:
cat ${SITE}.work >>${BATCHFILE}
I use:
presort ${SITE}.work >>${BATCHFILE}
and presort is this:
#! /bin/sh
grep ^control $1
grep -v ^control $1 | sort -k 1
Regards.
Technical Details
Message-ID:
<4mi534$p5p@bushwire.mira.net.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<4l8jg8$pcd@bull.hkstar.net> <4lmccn$6df@panix4.panix.com> <4lmfpt$743@augusta.math.psu.edu> <4ln379$ek1@bushwire.mira.net.au> <4mhnb2$e0g@papaioea.manawatu.gen.nz>Show Full Headers
Complete Article Headers
Message-ID: <4mi534$p5p@bushwire.mira.net.au> Subject: Re: newsfeed wanted. Date: Sun, 05 May 1996 00:00:00 +0000 From: Mark Delany <markd@mira.net.au> References: <4l8jg8$pcd@bull.hkstar.net> <4lmccn$6df@panix4.panix.com> <4lmfpt$743@augusta.math.psu.edu> <4ln379$ek1@bushwire.mira.net.au> <4mhnb2$e0g@papaioea.manawatu.gen.nz> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 153110083 Distribution: inet Organization: Werple Internet, Melbourne Newsgroups: news.software.nntp