diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-25 17:42:56 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-25 17:42:56 +0000 |
commit | 15ee1a9910d267982c6c6bd0667a3e20eb6a3551 (patch) | |
tree | 98829fd0753756bab0d5832ef2e85dd4ea11b0b1 | |
parent | 61d92b0101aceb8eb8fa71aa62465b56bd90e30a (diff) | |
download | fetchmail-15ee1a9910d267982c6c6bd0667a3e20eb6a3551.tar.gz fetchmail-15ee1a9910d267982c6c6bd0667a3e20eb6a3551.tar.bz2 fetchmail-15ee1a9910d267982c6c6bd0667a3e20eb6a3551.zip |
Don't generate spurious trailing whitespace on labels.
svn path=/trunk/; revision=3145
-rwxr-xr-x | growthplot | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -28,11 +28,10 @@ EOF ( echo "count=0" echo "breakheight=510" - while read version size friends announce total days date + while read version legend do if [ "$version" = '%' ] then - legend="$size $friends $announce $total $days $date" echo "# Associate $lastday to '$legend'" echo "count = count + 1" echo "lastday = $lastday - 5" @@ -47,6 +46,13 @@ EOF echo "if (endy > lasttotal) set label '$legend' at lastday-10, endy+15" echo "if (endy <= lasttotal) set label '$legend' at lastday-475, endy-15" else + set -- $legend + size=$1 + friends=$2 + announce=$3 + total=$4 + days=$5 + date=$6 lastday=$days lasttotal=$total fi |