[comp.sys.att] checkgroups on Unix-PC

pat@orac.pgh.pa.us (Pat Barron) (07/25/89)

Does anyone have a version of the "checkgroups" program that works
on the Unix PC (AT&T 7300) under Unix 3.51?  The one that comes with
News 2.11 doesn't work at all for me (apparently due to a limitation
in the "egrep" command on the machine, but admittedly I haven't
researched it very thoroughly).

Thanks,
--Pat.
-- 
Pat Barron
Internet:  pat@orac.pgh.pa.us  - or -   orac!pat@gateway.sei.cmu.edu
UUCP:  ...!uunet!apexepa!sei!orac!pat  - or -  ...!pitt!darth!orac!pat

nichiren@glyph.UUCP (Andy Heffernan) (07/26/89)

In article <192@orac.pgh.pa.us> pat@orac.pgh.pa.us (Pat Barron) writes:
>
>Does anyone have a version of the "checkgroups" program that works
>on the Unix PC (AT&T 7300) under Unix 3.51?  The one that comes with
>News 2.11 doesn't work at all for me (apparently due to a limitation
>in the "egrep" command on the machine, but admittedly I haven't
>researched it very thoroughly).

The problem I think you're running into is the 256-char limit on the
command line constructed in checkgroups and handed to egrep.
Hello?  Do I hear GNU calling?  (Don't ask me.)
The workaround I used was to chop up the input to checkgroups
into tiny little bits (like, about 20) and feed those little bits
into checkgroups.  I would separate all rec.* into one file, for example,
all talk.* into another, etc.  The script still did bad things with
comp.*, however.  It produced a script to delete a whole lot of the
*.sources and *.binaries groups, even though they existed in the
new newsgroups file I had brought in.  Some hand-editing before
running the script cleared that up.

So....
A new egrep for checkgroups?

>
>Thanks,
>--Pat.
>-- 
>Pat Barron
>Internet:  pat@orac.pgh.pa.us  - or -   orac!pat@gateway.sei.cmu.edu
>UUCP:  ...!uunet!apexepa!sei!orac!pat  - or -  ...!pitt!darth!orac!pat

3am.  No sense going to bed now.

-- 
-------------------------------------------------------------------------
Andy Heffernan              uunet!glyph!nichiren            [1222 - 1282]
-------------------------------------------------------------------------
	   "Dogpile on the rabbit!  Dogpile on the rabbit!"