🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4930

Re: Missing Number of Lines

#4930
From: Rudi van Houten
Date: Tue, 05 Oct 1993 12:46
24 lines
1563 bytes
In <CEDMu9.4Iw@aplcenmp.apl.jhu.edu> brownwm@aplcenmp.apl.jhu.edu (William G. S. Brown) writes:

>When I enter :post in a newsgroup (like this one) the resulting posted
>article does not contain the number of lines (like all the rest). 
>I must be doing something wrong -- what?

>Thanks.

Somewhere in your script inews the lines computing and putting the
linecount are commented out (in Cnews). Uncomment them and it will work.

 lines="`                       # sop to msb, just uncomment to use
 (sed 1d $inbody;               # take out the first (blank) line
 if test -r $HOME/.signature; then
        echo '-- '
        sed 4q $HOME/.signature
 fi) | wc -l `"
 echo Lines: $lines

--
Rudi van Houten	<rudi@cc.ruu.nl>
Academisch Computer Centrum Utrecht / Besturings Systemen
Budapestlaan 8  -  3584 CD  -  Utrecht  -  Netherlands
:-) Experience is the harvest of many mistakes.
Technical Details
Message-ID: <acbhour.749825189@speelman>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!uunet!mcsun!sun4nl!ruuinf!nic.cc.ruu.nl!acbhour
References: <CEDMu9.4Iw@aplcenmp.apl.jhu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <acbhour.749825189@speelman>
Subject: Re: Missing Number of Lines
Date: Tue, 5 Oct 1993 12:46:29 GMT
From: acbhour@phil.ruu.nl (Rudi van Houten)
References: <CEDMu9.4Iw@aplcenmp.apl.jhu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!uunet!mcsun!sun4nl!ruuinf!nic.cc.ruu.nl!acbhour
Newsgroups: news.software.nn
Keywords: post number of lines
Sender: usenet@cc.ruu.nl
Organization: ACCU
Lines: 24