diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-12 20:20:30 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-12 20:20:30 -0400 |
commit | 71e8d506573fc61271e10fc3d02eea9a5eb8ba01 (patch) | |
tree | 9c0e3c0b27577771067f75ec42815aeef6732bd3 /scripts/report | |
parent | 7610aec86df0fd5c49303a8ed984f16a0f0b1e1f (diff) | |
download | fork-ledger-71e8d506573fc61271e10fc3d02eea9a5eb8ba01.tar.gz fork-ledger-71e8d506573fc61271e10fc3d02eea9a5eb8ba01.tar.bz2 fork-ledger-71e8d506573fc61271e10fc3d02eea9a5eb8ba01.zip |
gnuplot is supported again (-j and -J)
Diffstat (limited to 'scripts/report')
-rwxr-xr-x | scripts/report | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/report b/scripts/report index c548792c..be90f896 100755 --- a/scripts/report +++ b/scripts/report @@ -1,17 +1,15 @@ -#!/bin/sh - -args=("$@") -last=${args[`expr ${#args} - 3`]} +#!/bin/bash cd /tmp -ledger "$@" | stripreg > $last +ledger -j reg "$@" > report gnuplot <<EOF set terminal png set output "report.png" set xdata time set timefmt "%Y/%m/%d" -plot "$1" using 1:2 with linespoints +plot "report" using 1:2 with linespoints EOF +rm -f report open report.png |