Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!apple!bionet!agate!labrea!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!rivm!ccea3 From: ccea3@rivm.UUCP (Adri Verhoef) Newsgroups: news.software.b Subject: Re: newsgroups fix Keywords: newsgroups(1) .newsrc sed Unsubscribed active Message-ID: <1078@rivm05.UUCP> Date: 13 Oct 88 17:09:59 GMT References: <348@brambo.UUCP> Organization: RIVM, Bilthoven, The Netherlands Lines: 18 Thank you, morgan@brambo.UUCP (Morgan W. Jones), you wrote a magnificent patch for the newsgroups(1) command. >I don't know how widespread this is (the bug or the fix), but if your >newsgroups command never seems to produce any output even though you >know that there are unsubscribed groups, try changing the last four/five >lines of the newsgroups script to look like this. echo "Unsubscribed but mentioned in .newsrc:" sed -n < $dotdir/.newsrc \ -e "/$1.*!/"'s/^\([^!]*\)!.*$/\1/p' | \ sort | $pager [ changed: sed --> sed -n [ deleted: -e 'd' -- Adri Verhoef, mcvax!rivm!a3, National Institute of Public Health and Environmental Protection.