Newsgroups: news.software.b Path: utzoo!utstat!news-server.csri.toronto.edu!math.lsa.umich.edu!zaphod.mps.ohio-state.edu!rpi!rpi.edu!tale From: tale@turing.cs.rpi.edu (David C Lawrence) Subject: Re: how to *really* get manual newgroup notification in C news Message-ID: <~~-%F1_@rpi.edu> Organization: Rensselaer Polytechnic Institute Computer Science, Troy NY References: <1990Aug26.203720.2157@hayes.fai.alaska.edu> Date: 26 Aug 90 22:25:42 GMT Lines: 34 In <1990Aug26.203720.2157@hayes.fai.alaska.edu> wisner@hayes.fai.alaska.edu (Bill Wisner): OK, so I blew it. My newgroup hackery was committed while under the influence of sleep deprivation, and I made a couple of stupid little mistakes. Blah. Here's the right version. (Thanks, tale.) Mea culpa, but I blew it too. $afile is never created, it is just the prefix used for tear. I still had to change these lines: cat $afile ) | Mail -s "Make $1 moderated" $NEWSMASTER cat $afile ) | Mail -s "Make $1 unmoderated" $NEWSMASTER cat $afile ) | Mail -s "Make $1 $2" $NEWSMASTER from "$afile" to "$afilehdr $afilebody". Note two other things: 1) I personally prefer to have the whole article there so I can look at different things in the headers; that's why I changed it long ago from the default. 2) I use "Mail" rather than "mail" because on my Sun3 server with a path of /bin:/usr/bin:/usr/ucb the latter does not have a -s switch for setting the subject and the former does. Oh, and maybe a third thing. The last subject might be better as "Create $1 $2". Sorry, w. I should have sent you an update when I noticed my error. -- (setq mail '("tale@cs.rpi.edu" "tale@ai.mit.edu" "tale@rpitsmts.bitnet")) The most remarkable thing about looking at a picture of myself was the sudden realisation that my hair is in fact parted on the left and not the right.