Article View: news.software.nntp
Article #45566Re: posting articles
From: Jeremy
Date: Thu, 06 Apr 2000 00:00
Date: Thu, 06 Apr 2000 00:00
29 lines
1364 bytes
1364 bytes
Bill Cole <bill@scconsult.com> wrote: >>> Can someone tell me how I can post an article to a newsgroup from the >>> unix command line? Not soemthing that should work, but something >>> that does. >> >> inews -h < article > > Which WILL work, provided you have a reasonable copy & version of inews > laying around in $PATH AND a news server to which you have access that > inews can discern from the environment. Otherwise not. Most portable way I can think of: % (echo "mode reader" sleep 1 echo "post" sleep 1 cat article echo "." sleep 1 echo "quit") | telnet news.server.name 119 This should work pretty much anywhere. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Technical Details
Message-ID:
<954987758.588237@news.netscum.dk>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-mailReferences:
<acPG4.43224$hT2.244261@news1.rdc1.ct.home.com> <ylg0t09m3m.fsf@windlord.stanford.edu> <bill-0504002104230001@fireproof.scconsult.com>Show Full Headers
Complete Article Headers
Message-ID: <954987758.588237@news.netscum.dk> Subject: Re: posting articles Date: Thu, 06 Apr 2000 00:00:00 +0000 From: Jeremy <bofh@netscum.dk> References: <acPG4.43224$hT2.244261@news1.rdc1.ct.home.com> <ylg0t09m3m.fsf@windlord.stanford.edu> <bill-0504002104230001@fireproof.scconsult.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 X-Deja-AN: 607354636 Organization: There Is No Organization X-Meow: Meow Newsgroups: news.software.nntp