Article View: news.software.readers
Article #841Re: rn 4.4 -- "k" when Subject is "."
From: David S Barr
Date: Wed, 06 Nov 1991 00:15
Date: Wed, 06 Nov 1991 00:15
22 lines
1935 bytes
1935 bytes
In article <55406@netnews.upenn.edu> rsk@chestnut.circ.upenn.edu (Rich Kulawiec) writes: >In article <1991Nov4.225056.11192@mel.dit.csiro.au> smart@mel.dit.csiro.au (Robert Smart) writes: >>When the Subject is "." and you hit "k" to kill the article and >>any followup articles it kills all remaining articles. Obviously >>the "k" command should do an exact match, not a pattern match which >>regards "." as a special match-anything pattern. > >I don't think it's "obvious" at all; since the "." metacharacter >matches any single character (and since only empty "Subject" lines >do not contain at least one character) this seems to me to be >correct behavior. Making a special case out of "." creates an >exception to the regular-expression handling; and folks who really >want to kill subjects containing a literal "." and use /\./j. Which is exactly his point! Shouldn't 'k' escape any periods it sees? Hitting 'k' on a "Subject: ." should do a "/\./j", not a "/./j" --Dave -- David Barr - Penn State CAC Student Consultant, Student Programmer DSB100@psuvm.psu.edu | dsbarr@endor.cs.psu.edu | dsbarr@wilbur.psu.edu barr@barrstl.scol.pa.us |...psuvax1!hogbbs!barrstl!barr
Technical Details
Message-ID:
<=*9Hwuzl3@cs.psu.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.readers.mbox.zip!gmdzi!unido!mcsun!uunet!wupost!uwm.edu!psuvax1!elostirion!dsbarrReferences:
<1991Nov4.225056.11192@mel.dit.csiro.au> <55406@netnews.upenn.edu>Show Full Headers
Complete Article Headers
Message-ID: <=*9Hwuzl3@cs.psu.edu> Subject: Re: rn 4.4 -- "k" when Subject is "." Date: Wed, 06 Nov 1991 00:15:56 +0000 From: dsbarr@elostirion.endor.cs.psu.edu (David S Barr) References: <1991Nov4.225056.11192@mel.dit.csiro.au> <55406@netnews.upenn.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.readers.mbox.zip!gmdzi!unido!mcsun!uunet!wupost!uwm.edu!psuvax1!elostirion!dsbarr Newsgroups: news.software.readers Sender: news@cs.psu.edu (Usenet) Organization: Penn State Computer Science Lines: 22 Nntp-Posting-Host: elostirion.endor.cs.psu.edu