jerryp@tektools.TEK.COM (Jerry Peek) (03/10/87)
Normally, when "rn" reads a KILL file for a newsgroup, it's case-insensitive. That is, if you ask it to kill articles with "TeX" in their titles, it also seems to kill articles with "tex", "TEX", and so on. Well, when I read the "comp.text" newsgroup, I want to kill the articles about "TeX", but not other articles with words like "text" in their titles. I tried the following KILL file, $HOME/.news/comp/text/KILL: /:.*TeX.*/:jc with a "c" to make the search case-sensitive. The "rn" man page doesn't mention "c" as a valid command, and it doesn't seem to work: $ rn Unread news in comp.text 4 articles ******** 4 unread articles in comp.text--read now? [ynq] = 41 Junked ???c (Interrupted at article 41) [Type space to continue] 40 Re: vi question (on the message "ERROR") 43 Re: TeX in C? 44 Re: Mac pictures, S and Bib in Tex Document ?? What next? [^Nnpq] q ******** End of newsgroups--what next? [npq] q $ Any suggestions? (We've got rn.c revision 4.3, dated 85/05/01.) Thanx... --Jerry Peek, Tektronix, Inc. US Mail: MS 74-900, P.O. Box 500, Beaverton, OR 97077 uucp-style: {allegra,decvax,hplabs,ihnp4,ucbvax}!tektronix!tektools!jerryp Domain-style: jerryp@tektools.TEK.COM Phone: +1 503 627-1603
andyb@dartvax.UUCP (Andy Behrens) (03/13/87)
In article <2260@tektools.TEK.COM> jerryp@tektools.TEK.COM (Jerry Peek) writes: > Well, when I read the "comp.text" newsgroup, I want to kill the > articles about "TeX", but not other articles with words like "text" in > their titles. I tried the following KILL file, > /:.*TeX.*/:jc > with a "c" to make the search case-sensitive. The "rn" man page > doesn't mention "c" as a valid command, and it doesn't seem to work. The "c" is a search modifier rather than a rn command. If I understand the manual, it should come immediately after the search pattern, before the colon: /pattern/c:j Other modifiers are "h" (search entire header) and "a" (search entire article). These would also precede the colon. Andy Behrens {astrovax,ihnp4,linus,harvard,decvax}!dartvax!burlcoat!andyb andyb%burlcoat@dartmouth.EDU RFD 1 Box 116, Union Village, Vt. 05043