Article View: news.software.readers
Article #36496Re: Slrn: Different From: lines in different newsgroups (was: altering "From" line in email replies)
From: Byrial Jensen
Date: Mon, 06 Oct 1997 00:00
Date: Mon, 06 Oct 1997 00:00
26 lines
1608 bytes
1608 bytes
J.B. Nicholson-Owens <jbn@pop-a-wheelie.midwest.net> wrote:
>Furthermore, I think you're looking for concordia.*, so you'd want the
>trailing dot. This may not be a concern now, there may be no other groups
>with "concordia" in the name, but it could easily become a hard bug to track
>later.
In my answer to Sylvain I deliberately used
if (is_substr (current_newsgroup (), "concordia") == 1)
without a trailing dot because I found it more likely to have a group
named just "concordia" in the concordia-hierarchy than the existence of
other hierarchies which names happen to begin with the 9 letters
"concordia".
If necessary you could check for both possibilities with e.g.
if (orelse
{ strcmp (current_newsgroup (), "concordia") == 0 }
{ is_substr (current_newsgroup (), "concordia.") == 1 })
Best regards
- byrial
Technical Details
Message-ID:
<slrn63hr3f.j1.byrial@ask.ask>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn63gqes.13h.sp_robi@Elvira.home> <slrn63h463.ad.jbn@pop-a-wheelie.midwest.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn63hr3f.j1.byrial@ask.ask> Subject: Re: Slrn: Different From: lines in different newsgroups (was: altering "From" line in email replies) Date: Mon, 06 Oct 1997 00:00:00 +0000 From: byrial@post3.tele.dk (Byrial Jensen) References: <slrn63gqes.13h.sp_robi@Elvira.home> <slrn63h463.ad.jbn@pop-a-wheelie.midwest.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 278262590 X-Complaints-To: abuse@news.inet.tele.dk X-Trace: news.inet.tele.dk 876150898 46440 (None) 194.239.129.24 Newsgroups: news.software.readers