Hi Paul,
by the way, this is how i move my wife's inbox into annual
subdirectories now. when we used MH, it was simpler by far.
http://www.redbarn.org/node/29
Interesting. I've done that on other's systems using the file's mtime
in the past, but perhaps I should be using the filename. I couldn't
access the script, but with awk (gawk) I'd attack it with
$ awk '{print strftime("%Y-%m-%d %T %z %a", $0, 1), $0}'
1483742072.M8387P41448.family.redbarn.org,S=4220,W=4316:2,Sb
2017-01-06 22:34:32 +0000 Fri
1483742072.M8387P41448.family.redbarn.org,S=4220,W=4316:2,Sb
0
1970-01-01 00:00:00 +0000 Thu 0
1520164774
2018-03-04 11:59:34 +0000 Sun 1520164774
^D
$
So «ls | awk $abovescript | awk '/^2017/ {print $NF}'», etc.
Also gives a way of counting emails by weekday. :-)
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
--
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers