Article View: news.software.nntp
Article #91302Re: force expiration by path?
From: Tom Furie
Date: Thu, 14 Dec 2023 06:32
Date: Thu, 14 Dec 2023 06:32
20 lines
1352 bytes
1352 bytes
Grant Taylor <gtaylor@tnetconsulting.net> writes: > export LC_ALL=C > egrep -lm1 "^Message-ID: > <[0-9A-Za-z]+-[0-9A-Za-z]+-[0-9A-Za-z]+-[0-9A-Za-z]+-[0-9A-Za-z]+@googlegroups.com>$" Just an aside in case you need to do something like this again... A pattern like "^Message-ID: <([[:alnum:]]+-)+[[:alnum:]]+[[:alpha:]]" before the "@" should allow the hyphenated grouping to expand arbitrarily without intervention required to modify the pattern. I'm pretty certain that's all hex (probably a hash of something) until the "n@google...", and I don't think I've ever noticed anything other than "n" immediately preceding the "@", so I guess the pattern could be something like "^Message-ID: <([0-9a-f]+-)+[0-9a-f]+n@google..."
Technical Details
Message-ID:
<ule7ht$b93$1@freeq.furie.org.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<ul5nl4$18j4$1@mail.neurotica.com>Show Full Headers
Complete Article Headers
Message-ID: <ule7ht$b93$1@freeq.furie.org.uk> Subject: Re: force expiration by path? Date: Thu, 14 Dec 2023 06:32:28 +0000 From: Tom Furie <tom@furie.org.uk> References: <ul5nl4$18j4$1@mail.neurotica.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Little to None Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)