1 |
On Wed, 28 Dec 2016 17:20:50 +0100, lee wrote: |
2 |
|
3 |
> > #!/bin/sh |
4 |
> > |
5 |
> > if [ $( eselect news count new ) != "0" ]; then |
6 |
> > eselect news list | mail you@××××××××××××.are |
7 |
> > fi |
8 |
> |
9 |
> Thanks! To actually read the news as email, I wrote this: |
10 |
> |
11 |
> #!/usr/bin/perl |
12 |
[massive snip] |
13 |
|
14 |
What does this actually do? Does it separate each news item into a |
15 |
separate mail, which sounds a neat idea. If you just want all the news |
16 |
news items, you could replace "list" with "read new" in my |
17 |
script^H^H^H^H^^Hhack. |
18 |
|
19 |
|
20 |
-- |
21 |
Neil Bothwick |
22 |
|
23 |
... We are Dyslexics of Borg. Your ass will be laminated. |