🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.misc
Article #279

Re: C news seems to be creating dups

#279
From: Jussi-Pekka Mantere
Date: Wed, 06 Jan 1993 01:04
39 lines
1894 bytes
Walter Hunt <walter@optimla.aimla.com> writes:

	   1. I run expires by doing "doexpire -s -r ; mkhistory";
...
	   2. Running dbz results in an error: 

   /usr/local/bin/cnews/dbz: (file `history', line 809) `....' already present 

Hopefully this patch will help you.

If you have several copies of a single article which have come at
different times, the this will put all the different instances into
a single history entry.

Best Regards,

Jussi-Pekka Mantere

*** mkhistory.orig	Fri May  8 17:40:08 1992
--- mkhistory	Wed Oct 14 22:35:25 1992
***************
*** 51,58 ****
  	fi
  done
  find $them -type f -name '[0-9]*' -print | histinfo |
! 	sort $SORTTMP -t'	' +1n |
! 	awk -f $NEWSBIN/expire/histdups | histslash >$NEWSCTL/history.n
  
  cd $NEWSCTL
  if egrep '^<[^>]*@trash>	' history.n >/dev/null
--- 51,58 ----
  	fi
  done
  find $them -type f -name '[0-9]*' -print | histinfo |
! 	sort $SORTTMP -t'	' -1 | awk -f $NEWSBIN/expire/histdups |
! 	sort $SORTTMP -t'	' +1n | histslash >$NEWSCTL/history.n
  
  cd $NEWSCTL
  if egrep '^<[^>]*@trash>	' history.n >/dev/null
Technical Details
Message-ID: <JPM.93Jan6030429@laphroaig.cs.hut.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!news.funet.fi!funic!sauna.cs.hut.fi!cs.hut.fi!jpm
References: <Bzn0Gp.266@optimla.aimla.com> <1h7bn6INN4ea@milk.Warren.MENTORG.COM> <Bzo4xL.6FI@world.std.com> <BzoJpx.Fz8@optimla.aimla.com> <BzooJF.IE8@world.std.com> <BzqEBM.5p8@optimla.aimla.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!news.funet.fi!funic!sauna.cs.hut.fi!cs.hut.fi!jpm
From: jpm@cs.hut.fi (Jussi-Pekka Mantere)
Newsgroups: news.admin.misc,news.software.b
Subject: Re: C news seems to be creating dups
Message-ID: <JPM.93Jan6030429@laphroaig.cs.hut.fi>
Date: 6 Jan 93 01:04:29 GMT
References: <Bzn0Gp.266@optimla.aimla.com> <1h7bn6INN4ea@milk.Warren.MENTORG.COM>
 <Bzo4xL.6FI@world.std.com> <BzoJpx.Fz8@optimla.aimla.com>
 <BzooJF.IE8@world.std.com> <BzqEBM.5p8@optimla.aimla.com>
Followup-To: news.software.b
Organization: Helsinki University of Technology, Finland
Lines: 39
NNTP-Posting-Host: laphroaig.cs.hut.fi
In-reply-to: walter@optimla.aimla.com's message of Wed, 23 Dec 1992 21:28:33 GMT