Add tinews.pl and some shell scripts to /contrib.
Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
9b6bf3e194
commit
8c9d450d47
6 changed files with 1535 additions and 2 deletions
11
contrib/yearstats.sh
Normal file
11
contrib/yearstats.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
# installation path is /srv/newsstats/, please adjust accordingly
|
||||
# $1: newsgroup
|
||||
echo "Stats for $1"
|
||||
cd /srv/newsstats/
|
||||
for year in {2012..2022}
|
||||
do
|
||||
echo -n "${year}: "
|
||||
bin/groupstats.pl -m $year-01:$year-12 -r sums -n $1
|
||||
done
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue