ext_6219 ([identity profile] gareth-rees.livejournal.com) wrote in [personal profile] ewx 2008-07-21 06:26 pm (UTC)

This was produced by running
find ~/Library/Mail -name '*.emlx' -print0 |
xargs -0 grep -h -m 1 ^Date: |
perl -ne 'use Date::Parse; s/Date: //; @d = strptime($_); $y=$d[5]+1900; printf "%d %02d\n",$y,$d[4] if 1990<$y and $y<=2008;' |
sort |
uniq -c > messages-per-month
gnuplot <<'END'
set term aqua
set size 0.8,0.4
plot 'messages-per-month' using ($2+($3-1)/12):1 title "Messages per month" with line
END
If you don't use Apple Mail you'll need to change the find and grep commands, and if you have a different way of getting pictures out of gnuplot you'll need to specify a suitable output terminal.

Post a comment in response:

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org