static char *sccsid
= "@(#)newsoutput.c 1.1\t1/23/83";
* newsoutput - place the specified notesfiles out to the
* Original Coding: Ray Essick April 1982
static int othersys
; /* dump other people to news */
return newsout(nfname
, othersys
);
#include "main.i" /* common init code and such */
printf ("Usage: %s [-a] [-f file] topic1 [topic2 ...]\n", argv
[0]);
if (globuid
!= NOTESUID
) {
printf ("Sorry, only notes 'owner' can send notes to news\n");
othersys
= 0; /* default to jus self */
for (i
= 1; i
< argc
; i
++) {
case 'a': /* send -A-ll systems notes */
case 'f': /* process a file */
printf ("Bad switch: %c\n", argv
[i
][1]);
for (i
= 0; i
< last_group
; i
++) {
if (group
[i
].lookat
== 1) {