[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] leafnode-2.0
Michael Faurot wrote:
> Sounds like v2.0 will be able to receive UUCP batches. Will it also
> be able to create them?
I don't know how UUCP batches are usually created. As far as I know,
you only stick the articles together with suitable headers, e.g.
#! rnews length_in_bytes
first article
#! rnews length_in_bytes
second article
etc. This should be fairly easy to do with a perl/shell script:
#!/bin/bash
for i in /var/spool/news/out.going/*
do
echo "#! rnews" `wc -c $i | awk '{ print $1; }'`
cat $i
done
will batch everything in /var/spool/news/out.going/ into a rnews batch
and send it to stdout. I thought this is so simple that we don't need
a separate program. If I am wrong, please tell me where :-)
--Cornelius.
--
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany email: phak004@xxxxxxxxxxxxxxxxxxxxxx SP4 */
/* "Science is the game we play with God to find out what His rules are." */
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list