Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site pur-phy.UUCP Path: utzoo!linus!decvax!harpo!gummo!whuxlb!pyuxll!eisx!npoiv!npois!hogpc!houxm!ihnp4!ixn5c!inuxc!pur-ee!CSvax:Pucc-H:pur-phy!crl From: crl@CSvax:Pucc-H:pur-phy.UUCP Newsgroups: net.news.b Subject: better check your greps! Message-ID: <941@pur-phy.UUCP> Date: Mon, 19-Sep-83 20:09:00 EDT Article-I.D.: pur-phy.941 Posted: Mon Sep 19 20:09:00 1983 Date-Received: Tue, 20-Sep-83 15:48:59 EDT Organization: Purdue Univ. Physics Dept., W. Lafayette, IN Lines: 12 Everyone had better check that your grep supports both the -s flag (diagnostic output only) and exiting with non-zero status if no matches are found. Inews uses a "grep -s newsgroup /usr/lib/news/active" when a user tries to submit to a non-existent newsgroup, to see if it had existed at one time. If the system() call returns true (exit status 0), then inews will create the group, otherwise, it will punt. I don't know where we got the version of grep that didn't do this, but it may have been distributed with 2.8 BSD, so 2.8 BSD system managers beware! Charles LaBrec UUCP: pur-ee!Physics:crl, purdue!Physics:crl INTERNET: crl @ pur-phy.UUCP