crl@CSvax:Pucc-H:pur-phy.UUCP (09/20/83)
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