🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #22806

Re: inn und suck

#22806
From: Marc SCHAEFER
Date: Sat, 24 Apr 1999 00:00
58 lines
1684 bytes
Sven Kirmess <Sven.Kirmess@gmx.net> wrote:
> Liegt da ein Fehler vor und sollten diese Dateien gel�scht sein? kann

ja, that's strange.

Use that script to clean them up:


#! /bin/sh

for i in Msgs/*$1
do
    rnews < $i
    rm $i
done

> ich sie von Hand l�schen?

Next time, use that script to get them. Note that it's suboptimal
since it creates a batch file. I am sure an option to suck to
just pass data to rnews would be enough, while still deleting
the articles files in Msg/

#! /bin/sh

if [ $# != 1 ]; then
   echo "$0 sitename"
   echo "$0: bad args"
   exit 1
fi

BATCHFILE=/usr/tmp/batchfile.$1
SUCKDIR=.
MORE_OPT=

cd $SUCKDIR

if [ -f suck.restart.$1 ]; then
   MORE_OPT=-R
   echo "restarting xfer"
fi

./suck $1 -p .$1 -br $BATCHFILE $MORE_OPT -n
RESULT=$?
case $RESULT in
   0|2) ;;
   *)
   echo "error $RESULT or no articles";;
esac
if [ -f $BATCHFILE ]; then
   if [ "$MORE_OPT" != "-R" ]; then
      mv suck.newrc.$1 sucknewsrc.$1
   fi
   rnews < $BATCHFILE
   rm $BATCHFILE
else
   echo "no save"
fi
Technical Details
Message-ID: <7frr1u$ueq$1@vulcan.alphanet.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3720EC5E.BDAAA8D@gmx.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f4b73,c08c3bfe5dfc11b7
X-Google-Attributes: gidf4b73,public
From: Marc SCHAEFER <schaefer@alphanet.ch>
Subject: Re: inn und suck
Date: 1999/04/24
Message-ID: <7frr1u$ueq$1@vulcan.alphanet.ch>
X-Deja-AN: 470287726
Content-Transfer-Encoding: 8bit
References: <3720EC5E.BDAAA8D@gmx.net>
Supersedes: <7frqbg$u96$1@vulcan.alphanet.ch>
Content-Type: text/plain; charset=ISO-8859-1
Organization: ALPHANET NF -- Not for profit telecom research
Mime-Version: 1.0
Reply-To: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: ch.comp.os.linux