Article View: news.software.nn
Article #5439Re: Pre-selecting all articles in a group
From: Daniel Kohn
Date: Sun, 13 Feb 1994 06:01
Date: Sun, 13 Feb 1994 06:01
38 lines
2305 bytes
2305 bytes
In <CKx1uA.4KD@nid.csc.com> steve@nid.csc.com (Steve Pearson) writes: >>A quick question: I want to select all articles in a group, no matter >>what. I ought to be able to use the kill-select function, then give >>it a regular expression of *, meaning match all. This does not work. garym@alsys.com (Gary Morris @ignite) writes: >I use an expression of ^, which will match even a blank subject line. >Ie, in .nn/kill: >rec.humor.funny:+s/:^ That works because every subject line has a carriage return, and therefore a beginning of line. ^ is the regular expression for beginning of line. A nice derivative of that is to look for only blank lines using the regexp ^$ which means beginning and end of line with nothing in between. But to answer Steve's original question, his line didn't work because nn uses different characters for its regexp than tcsh (and other programs). The regexp for all is a period (.). The lines from my kill file are: rec.humor.funny:+n/|s/:.:. rec.humor.funny:s:Monthly Posting This way, if anything is in the name or (|) subject, then the article is selected. I then deselect without killing the Monthly Posting informational posts. Now that I think about it, Gary's suggestion of a ^ would probably work better here. -- -Dan kohn@cs.swarthmore.edu (Dan Kohn) -- -Dan kohn@cs.swarthmore.edu (Dan Kohn)
Technical Details
Message-ID:
<2jkfn1$216@larch.cc.swarthmore.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!news2.cac.psu.edu!news.pop.psu.edu!psuvax1!news.cc.swarthmore.edu!kohnReferences:
<CKx1uA.4KD@nid.csc.com> <CL2r0M.M0F@alsys.com>Show Full Headers
Complete Article Headers
Message-ID: <2jkfn1$216@larch.cc.swarthmore.edu> Subject: Re: Pre-selecting all articles in a group Date: Sun, 13 Feb 1994 06:01:05 +0000 From: kohn@cs.swarthmore.edu (Daniel Kohn) References: <CKx1uA.4KD@nid.csc.com> <CL2r0M.M0F@alsys.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!news2.cac.psu.edu!news.pop.psu.edu!psuvax1!news.cc.swarthmore.edu!kohn Newsgroups: news.software.nn Organization: Swarthmore College, Swarthmore, PA, USA Lines: 38 NNTP-Posting-Host: nutmeg.cs.swarthmore.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Keywords: help X-Newsreader: NN version 6.5.0 #3 (NOV)