Path: utzoo!attcan!uunet!cs.utexas.edu!convex!news From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.unix.questions Subject: Re: string search in "rn" Keywords: KILL file Message-ID: <1991Jan24.075453.4735@convex.com> Date: 24 Jan 91 07:54:53 GMT References: <19522@hydra.gatech.EDU> <11067@jpl-devvax.JPL.NASA.GOV> <1991Jan22.202458.14825@murdoch.acc.Virginia.EDU> Sender: news@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 36 Nntp-Posting-Host: pixel.convex.com From the keyboard of clc5q@shamash.cs.Virginia.EDU (Clark L. Coleman): :I have seen some neat tricks with KILL files, but how do you find the :documentation for this stuff? The man pages for "rn" are pretty much :useless (on my system, anyway) for sophisticated kills. (Put another :way: I am too stupid to figure it out from the man pages.) Maybe now that the perl book is done, Larry will write us one on rn. :-) [No, I'm not quite serious.] The information you seek is actually there. Perhaps it's a little hard to pick out. Look for the string "modifiers" in the man page. :Specifically, I want to : : : 1) Kill all news articles that were cross-posted to talk.politics.mideast, : to use one example. /Newsgroups:.*talk.politics.mideast/h:j : 2) Kill all subjects containing a particular substring. /substr/:j : 3) Kill all postings from a particular poster. /From:.*poster/h:j Hope this helps. --tom -- "Hey, did you hear Stallman has replaced /vmunix with /vmunix.el? Now he can finally have the whole O/S built-in to his editor like he always wanted!" --me (Tom Christiansen )