Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.sources.bugs Subject: rn 4.3 patch #11 Message-ID: <1998@sdcrdcf.UUCP> Date: Mon, 20-May-85 19:02:46 EDT Article-I.D.: sdcrdcf.1998 Posted: Mon May 20 19:02:46 1985 Date-Received: Thu, 23-May-85 03:29:28 EDT Organization: System Development Corp. R+D, Santa Monica Lines: 153 System: rn version 4.3 Patch #: 11 Priority: MEDIUM Subject: mbox and norm.saver don't put "Article n of newsgroup" line. From: geoff@desint.UUCP (Geoff Kuenning) Description: The shell scripts mbox.saver and norm.saver are supposed to put a line at the front of the saved article saying where the article came from. This doesn't happen because a missing backslash causes premature evaluation of a $5. Fix: From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patch Patch #: 11 Index: mbox.saver.SH Prereq: 4.3 *** mbox.saver.SH.old Mon May 20 15:56:54 1985 --- mbox.saver.SH Mon May 20 15:56:59 1985 *************** *** 4,10 echo "Extracting mbox.saver (with variable substitutions)" $spitshell >mbox.saver <mbox.saver <From/" --- 30,36 ----- export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh \$0; kill \$\$) ( $echo "\$8" ! case "\$5" in 0) $echo "Article \$4 of \$6:" ;; esac $tail +\$5c \$1 | $sed "s/^From/>From/" Index: norm.saver.SH Prereq: 4.3 *** norm.saver.SH.old Mon May 20 15:57:13 1985 --- norm.saver.SH Mon May 20 15:57:19 1985 *************** *** 4,10 echo "Extracting norm.saver (with variable substitutions)" $spitshell >norm.saver <norm.saver <