🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #31270

does "." terminate server articles?

#31270
From: John Savage
Date: Wed, 09 Sep 1998 00:00
29 lines
1961 bytes
Because of slow/flakey news, I run a shell script in a cron
job to obtain articles in some newsgroups from remote servers.

I have relied on each article being terminated by a lone dot, and
this has, AFAIK, worked infallibly for a few years. Until today.

It had been my assumption that the dot was added by my remote server,
added after the article to indicate end-of-article, but I'm now
thinking that the dot must be an integral part of the original
article--being added by the poster's server. I say this because
I've stumbled upon an article that doesn't end with a single dot; i.e.,
it doesn't end with J.J where J signifies the ctrl-J character, so
my script's [[ "$xline" == . ]] test fails and the script hangs. :(
The article actually ends with J.MJ where M signifies ctrl-M. (This
has nothing to do with MSDOS terminations; and the article content
has no other MSDOS CR-LF line terminations.)

I can repair the script to accommodate articles ending with either
J.J or J.MJ and of course have done so; but because this is such a rare
ocurrence I'm left wondering whether a termination J.MJ even complies
with the NNTP standard?

The article is in aus.gardens, ID: <35F28E57.FC453AC1@mailbox.uq.edu.au>

Is this particular posting violating NNTP *require*ments?
--
John Savage              (responses to newsgroup, please no copy by email)

Technical Details
Message-ID: <980909000111114.09Sep98$rookswood@suburbian.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <980909000111114.09Sep98$rookswood@suburbian.com>
Subject: does "." terminate server articles?
Date: Wed, 09 Sep 1998 00:00:00 +0000
From: John Savage <rookswood@suburbian.com.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 389227525
Organization: Gumleaf Smoke Signal Productions
Newsgroups: news.software.readers,news.software.nntp