🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Byrial Jensen Mon, 06 Oct 1997 00:00
Re: Slrn: Different From: lines in different newsgroups (was: altering "From" line in email replies)
#36496
Author: Byrial Jensen
Date: Mon, 06 Oct 1997 00:00
26 lines
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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads