Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!ginosko!uunet!bfmny0!tneff From: tneff@bfmny0.UU.NET (Tom Neff) Newsgroups: news.software.b Subject: Good SUBJLINE setting for RNINIT Message-ID: <14655@bfmny0.UU.NET> Date: 11 Sep 89 17:48:22 GMT Reply-To: tneff@bfmny0.UU.NET (Tom Neff) Organization: ^ Lines: 38 Summary: Expires: Sender: Followup-To: Woody Kellum recently posted a collection of neat RN macros submitted from various sources, including one from Larry Williamson and Mark Brader to display a nice columnar article list for the '=' command. It seemed to come out a little ragged on my system, though, and it didn't handle the common address form Joe Schmoe which is seen in many headers these days. So I rewrote it and have been quite happy with the results. Here it is -- add to your RNINIT string or file (I prefer a file). #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create: # subjline.rni # This archive created: Mon Sep 11 13:46:55 1989 export PATH; PATH=/bin:/usr/bin:$PATH if test -f 'subjline.rni' then echo shar: "will not over-write existing file 'subjline.rni'" else sed 's/^X//' << \SHAR_EOF > 'subjline.rni' X-ESUBJLINE="%(%[subject] x=\ X\\(........................................\\)?%1)\ X %(%[lines]=^$? :%(\(%[lines]\) =\\(.....\\)?%1))\ X %(%(%f=.* \(\\(.*\\)\)\\|\\(.*\\) <.*>?%0:%f)=\ X\\(..........................\\)?%0:%(%f=.* \(\\(.*\\)\)\\|\\(.*\\) <.*>?%0:%f))" SHAR_EOF fi exit 0 # End of shell archive -- Annex Canada now! We need the room, \) Tom Neff and who's going to stop us. (\ tneff@bfmny0.UU.NET