Xref: utzoo news.misc:5175 alt.sources:2163 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!bloom-beacon.mit.edu!jik From: jik@pit-manager.mit.edu (Jonathan I. Kamens) Newsgroups: news.misc,alt.sources Subject: Re: Processing KILL files in background. Message-ID: <1990Aug14.185107.11587@athena.mit.edu> Date: 14 Aug 90 21:50:31 GMT References: <1990Aug14.180215.2913@cs.utk.edu> Sender: daemon@athena.mit.edu (Mr Background) Followup-To: news.misc Organization: /mit/jik/.organization Lines: 31 In-Reply-To: richards@utkcs2.cs.utk.edu's message of 14 Aug 90 18:02:15 GMT Well, I didn't write it, but here's a tool to do what you're asking. Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8495 Home: 617-782-0710 ************************* #!/bin/sh # (if these # comments bother your system, strip them out) # # rnkill - shell script to apply rn KILL files in background # Jim Olsen - 14 Mar 89 (olsen@XN.LL.MIT.EDU) # # Options: -d debug mode. You see all gory action as it happens. # Visit all newsgroups (if rn asks about anything else, just say no) export RNMACRO RNINIT RNINIT='-s -T -t' RNMACRO=/tmp/rnkill$$ trap 'rm -f $RNMACRO; exit' 1 2 3 15 echo "z %(%m=n?.q^M:n)^(z^)" > $RNMACRO if test X$1 = X-d; then echo "z" | rn else echo "z" | rn >/dev/null 2>&1 fi rm $RNMACRO exit 0