diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2009-10-30 02:23:23 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2009-10-30 02:23:23 +0000 |
commit | c486e64596db92a4319f48f27832fd7ff8cc639d (patch) | |
tree | 5bfc17e33c033121e24b492f5ca41ded5c42d7e5 /dist-tools/timeplot | |
parent | 0461562f6326dfff4c6eedb18a5b831eb8475efe (diff) | |
download | fetchmail-c486e64596db92a4319f48f27832fd7ff8cc639d.tar.gz fetchmail-c486e64596db92a4319f48f27832fd7ff8cc639d.tar.bz2 fetchmail-c486e64596db92a4319f48f27832fd7ff8cc639d.zip |
Clean up dist-tools, remove or update.
svn path=/branches/BRANCH_6-3/; revision=5446
Diffstat (limited to 'dist-tools/timeplot')
-rwxr-xr-x | dist-tools/timeplot | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/dist-tools/timeplot b/dist-tools/timeplot deleted file mode 100755 index c8240d05..00000000 --- a/dist-tools/timeplot +++ /dev/null @@ -1,40 +0,0 @@ -#!/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 |