🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.b
Article #7033

Re: RN pl44 bugs!

#7033
From: Joe Ilacqua
Date: Thu, 01 Mar 1990 17:48
34 lines
1563 bytes
In article <1990Feb28.230931.6490@cs.uoregon.edu> dmose@hazy.math.uoregon.edu (Dan Mosedale) writes:
<Bug#2:
<	In the newsgroups script, the "Unsubscribed but listed in .newsrc"
<	doesn't list anything at all.  After a bit of experimentation, I
<	figured out that the sed(1) command which is supposed to delete all
<	of the lines in .newsrc which don't end with a ! in fact deletes
<	every single line in .newsrc.

	I changed to use grep which fixed it.

Here's a diff

*** newsgroups  Mon Dec 18 12:01:41 1989
--- /usr/local/bin//newsgroups  Wed Feb 28 15:16:02 1990
***************
*** 65,71 ****
  read tmp
  /bin/echo ""
  /bin/echo "Unsubscribed but mentioned in .newsrc:"
! /bin/sed < $dotdir/.newsrc \
!       -e "/$1.*!/"'s/^\([^!]*\)!.*$/\1/p' \
!       -e 'd' | \
  /bin/sort | $pager
--- 65,70 ----
  read tmp
  /bin/echo ""
  /bin/echo "Unsubscribed but mentioned in .newsrc:"
! grep "$1.*!" < $dotdir/.newsrc | \
!       sed -e 's/^\([^!]*\)!.*$/\1/p' | \
  /bin/sort | $pager

->Spike
-- 
"The World" - Public Access Unix - +1 617-739-9753  24hrs {3,12,24}00bps
Technical Details
Message-ID: <1990Mar1.174810.2371@world.std.com>
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!mit-eddie!bu.edu!xylogics!world!spike
References: <1990Feb28.230931.6490@cs.uoregon.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!mit-eddie!bu.edu!xylogics!world!spike
From: spike@world.std.com (Joe Ilacqua)
Newsgroups: news.software.b
Subject: Re: RN pl44 bugs!
Keywords: NNTP
Message-ID: <1990Mar1.174810.2371@world.std.com>
Date: 1 Mar 90 17:48:10 GMT
References: <1990Feb28.230931.6490@cs.uoregon.edu>
Organization: Software Tool & Die
Lines: 34