🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #33416

Re: How can I post an article using command line arguments.

#33416
From: Eli the Bearded
Date: Thu, 08 May 1997 00:00
34 lines
2186 bytes
SRINIVASA MEDAM <medams@ucunix.san.uc.edu> wrote:
>I use tin for news reading. 

Reading and posting news are different things. Any good Unix program
will have different programs to do differnt things. trn does, I don't
know tin myself.

>How can I post using command line arguments from unix shell prompt.

man inews

>I would like to do the above from unix shell prompt using tin
>command line arguents.

I doubt tin will do it. Read the man page.

>I tried the following. But no result.
>	% tin -w "news.test" -s "Srini test posting" < narticle

My inews doesn't do headers on the command line, some do. Check
your documentation. This will work with my inews:

% ( echo "Newsgroups: news.test" ; echo "Subject: Srini test posting" \
    echo "" ; cat narticle ) | inews

Versions of inews which take headers on the command line need a '-h'
flag to accept them from stdin.

Elijah
------
I like inews. inews is fun.

Technical Details
Message-ID: <5kri0r$c6s$1@news.netusa.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <5krfsp$hdg$1@news.ececs.uc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5kri0r$c6s$1@news.netusa.net>
Subject: Re: How can I post an article using command line arguments.
Date: Thu, 08 May 1997 00:00:00 +0000
From: Eli the Bearded <usenet-tag@qz.little-neck.ny.us>
References: <5krfsp$hdg$1@news.ececs.uc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 240120181
X-Path-Preload: news.accessus.net preloaded to thwart rogue canceller there
X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html>
X-From-Notes: This is sent from a valid but tagged return address. Failure to include an "Re:" in the subject may cause reply mail to bounce.
Organization: Some absurd concept
X-attribution: EtB
X-Acceptable-Email-Policy: for rules about sending mail to this account see: <URL:ftp://ftp.netusa.net/users/eli/email.txt> -- plain text; <URL:http://www.netusa.net/~eli/email.html> -- html format; or <URL:mailto:email-policy@qz.little-neck.ny.us> -- autoresponse
Newsgroups: news.software.readers,alt.fan.e-t-b
X-US-Congress: Moronic Fucks.