• retrieve usenet article by message ID in terminal

    From Marco Moock@21:1/5 to All on Sun Feb 4 15:23:29 2024
    Hello!

    Some weeks ago somebody posted a way to retrieve a complete message in
    the terminal by the msg id.

    Does somebody know where that has been posted?

    --
    kind regards
    Marco

    Spam und Werbung bitte an ichwillgesperrtwerden@nirvana.admins.ws

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From yeti@21:1/5 to Marco Moock on Sun Feb 4 18:47:11 2024
    Marco Moock <mm+usenet-es@dorfdsl.de> writes:

    Hello!

    Some weeks ago somebody posted a way to retrieve a complete message in
    the terminal by the msg id.

    Does somebody know where that has been posted?

    No. I don't know.

    ...but this is one way that kind of does the trick:

    ------------------------------------------------------------------------
    $ printf '%s\r\n' 'article <upo6l1$3k6a0$1@dont-email.me>' quit . | nc news.uni-stuttgart.de nntp
    ------------------------------------------------------------------------

    --
    I do not bite, I just want to play.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Tue Feb 6 10:02:53 2024
    On 04.02.2024 um 18:47 Uhr yeti wrote:

    $ printf '%s\r\n' 'article <upo6l1$3k6a0$1@dont-email.me>' quit . |
    nc news.uni-stuttgart.de nntp

    That has the disadvantage that it includes the NNTP responses which
    causes problem when parsed to other applications that expect only the
    message.

    --
    kind regards
    Marco

    Send spam to muell456@cartoonies.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Tue Feb 6 10:34:15 2024
    On 04.02.2024 um 15:23 Uhr Marco Moock wrote:

    Some weeks ago somebody posted a way to retrieve a complete message in
    the terminal by the msg id.

    Does somebody know where that has been posted?

    lynx -source "nntp://news.i2pn2.org/<msgid>"
    is nearly that what I need.
    It places an <XMP>/</XMP> line at the beginning and at the end, but
    sed can remove that.


    --
    kind regards
    Marco

    Send spam to muell456@cartoonies.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adam W.@21:1/5 to Marco Moock on Fri Feb 23 15:47:34 2024
    Marco Moock <mm+usenet-es@dorfdsl.de> wrote:

    lynx -source "nntp://news.i2pn2.org/<msgid>"

    Use '', otherwise $ in msgids will be treated as variables. At least in
    bash.

    Like in your msgid:

    upsuen$qne4$1@dont-email.me

    It's decoded to upsuen@dont-email.me, because there's no variable $qne4
    and $1.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)