Neil Bothwick <n...@digimed.co.uk> writes:

> On Wed, 28 Dec 2016 17:20:50 +0100, lee wrote:
>
>> > #!/bin/sh
>> >
>> > if [ $( eselect news count new ) != "0" ]; then
>> >    eselect news list | mail y...@wherever.you.are
>> >    fi  
>> 
>> Thanks!  To actually read the news as email, I wrote this:
>> 
>> #!/usr/bin/perl
> [massive snip]
>
> What does this actually do? Does it separate each news item into a
> separate mail, which sounds a neat idea. If you just want all the news
> news items, you could replace "list" with "read new" in my
> script^H^H^H^H^^Hhack.

You can set it up either way, i. e. all in one email, or each item in
one, or several items in several mails, by setting $msglen.  I didn't
know there is 'read new' ...

Reply via email to