Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!genrad!decvax!harpo!seismo!rochester!lee From: lee@rochester.UUCP Newsgroups: net.news.b Subject: junk**2 Message-ID: <1884@rocheste.UUCP> Date: Sun, 5-Jun-83 15:41:33 EDT Article-I.D.: rocheste.1884 Posted: Sun Jun 5 15:41:33 1983 Date-Received: Tue, 7-Jun-83 01:47:31 EDT Lines: 17 From: Lee.Moore "alb" is right in that saying: readnews -n junk junk will work. The problem is more precisly that if the first group is "junk", "control" or "test" it will be ignored. The cause of this is in readnews.c/findex(). In that subroutine there is a line of the form: if(p>string && p[-1] != '!' && strncmp(p, searchfor, ... If "junk" is the first group, then p==string and the test fails immediately. The fix is to not look for the '!' if you are at the start of the string. This is done by: if( (p==string || (p>string && p[-1] != '!')) && strncmp(p, searchfor, ... = lee@rochester rochester!lee =