Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!cwjcc!hal!ncoast!allbery From: allbery@ncoast.ORG (Brandon S. Allbery) Newsgroups: alt.sources Subject: Re: STOP CROSSPOSTING CHATTER INTO ALT.SOURCES! Message-ID: <13806@ncoast.ORG> Date: 8 Jul 89 17:56:19 GMT References: <17414@gryphon.COM> <14441@bfmny0.UUCP> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery) Followup-To: alt.sources.d Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 81 #--------------------------------CUT HERE------------------------------------- #! /bin/sh # # This is a shell archive. Save this into a file, edit it # and delete all lines above this comment. Then give this # file to sh by executing the command "sh file". The files # will be extracted into the current directory owned by # you with default permissions. # # The files contained herein are: # # -rw-r--r-- 1 allbery member 1283 Jul 8 13:52 discourse.c # echo 'x - discourse.c' if test -f discourse.c; then echo 'shar: not overwriting discourse.c'; else sed 's/^X//' << '________This_Is_The_END________' > discourse.c X#include X Xextern int printf(); Xextern int fprintf(); Xextern int puts(); Xextern void exit(); X Xchar *msg[] = { X"Back in April 1987 the newsgroup net.sources, an unmoderated sources", X"newsgroup, was changed into the moderated sources newsgroup comp.sources.misc", X"by the net.gods because they were sick and tired of the noise.", X"", X"Do you who have argued so steadily against moderated sources groups *really*", X"want to convince the alt.net.gods to make *this* sources newsgroup moderated?", X"", X"Think about it. Then get your drivel out of this newsgroup.", X"", X"Thank you.", X0}; X Xchar *ps[] = { X"(Disclaimer) Were I against unmoderated sources newsgroups, I would not", X"have posted this; instead, I would have stayed silent and let nature take", X"its course.", X0}; X Xvoid discourse(msg) X register char *msg[]; X{ X while (*msg) X (void) puts(*msg++); X} X Xint main(argc, argv) X char **argv; X{ X if (argc != 1) X { X (void) fprintf(stderr, "usage: discourse\n"); X exit(1); X } X (void) puts("A message from the moderator of comp.sources.misc:"); X (void) putchar('\n'); X discourse(msg); X (void) putchar('\n'); X for (c = 0; c < 79; c++) X (void) putchar('-'); X (void) putchar('\n'); X (void) putchar('\n'); X (void) puts("P.S.:"); X (void) putchar('\n'); X discourse(ps); X exit(0); X} ________This_Is_The_END________ if test `wc -c < discourse.c` -ne 1285; then echo 'shar: discourse.c was damaged during transit (should have been 1285 bytes)' fi fi ; : end of overwriting check exit 0 -- Brandon S. Allbery, moderator of comp.sources.misc allbery@ncoast.org uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu Send comp.sources.misc submissions to comp-sources-misc@ NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser