| Back to Fetchmail Home Page | To Site Map | $Date: 2004/01/13 08:46:00 $ |
Before reporting any bug, please read G3 for advice on how to include diagnostic information that will get your bug fixed as quickly as possible.
If you have a question or answer you think ought to be added to this FAQ list, mail it to fetchmail's maintainer, Eric S. Raymond, at esr@thyrsus.com.
#!/bin/sh # # timeplot -- plot data on fetchmail release intervals # # # Get data from the NEWS file timeseries | awk >/tmp/timeplot$$ ' START {maxdiff = 0;} /^[#%]/ {next;} {days[count++] = $6;} END { for (i = 0; i < count-1; i++) { diffs[i] = days[i] - days[i + 1]; if (maxdiff < diffs[i]) maxdiff = diffs[i]; } for (i = 0; i <= maxdiff; i++) freq[i] = 0; for (i = 0; i < count - 1; i++) { freq[diffs[i]]++; } for (i = 0; i <= maxdiff; i++) printf("%d %d\n", i, freq[i]); } ' gnuplot >time.png - <<EOF set xlabel "Release interval (days)" set ylabel "Interval frequency" plot '/tmp/timeplot$$' using 1:2 \ title "Release interval frequency" pause 9999 EOF rm -f /tmp/time* # timeplot ends here