Article View: news.software.nn
Article #1944Re: How to get a Lines: line
From: Jan B. Andersen
Date: Mon, 05 Aug 1991 21:15
Date: Mon, 05 Aug 1991 21:15
31 lines
1593 bytes
1593 bytes
napp@uni-paderborn.de (Joerg Napp) writes:
>Is there an easy way to get a Lines: line
>in the header?
It's not really a nn-related problem. The Lines: header was commented out
recently in the C-news package I belive. I'll just have to check which script
I changed. Please wait...
OK I'm back. It's in /usr/lib/newsbin/inject/inews. Here's the relevant
part of the script:
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 # Put back in by JBA/910704
>I often forget to set it by hand and nn
>shows ?? instead of the number of lines
>in selection mode.
>Thanks in advance,
>Joerg
>--
>Joerg Napp, Paderborn, Germany
>e-mail: napp@uni-paderborn.de DG8AT
>'and on the Eighth day, the Lord made a backup copy....'
Technical Details
Message-ID:
<1991Aug5.211505.29533@gorm.ruc.dk>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!gmdzi!unido!mcsun!news.funet.fi!sunic!dkuug!ruc.dk!jbaReferences:
<1991Aug5.131954.24235@uni-paderborn.de>Show Full Headers
Complete Article Headers
Message-ID: <1991Aug5.211505.29533@gorm.ruc.dk> Subject: Re: How to get a Lines: line Date: Mon, 05 Aug 1991 21:15:05 +0000 From: jba@gorm.ruc.dk (Jan B. Andersen) References: <1991Aug5.131954.24235@uni-paderborn.de> 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!gmdzi!unido!mcsun!news.funet.fi!sunic!dkuug!ruc.dk!jba Newsgroups: news.software.nn Distribution: news Organization: Roskilde Universitetscenter, Danmark Lines: 31