diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-03 04:34:50 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:40:47 -0400 |
commit | a32173ace60df5a1e9414f5e95b556c436f62718 (patch) | |
tree | fff5b881c657fddb8543b0f787bfa75cf009a0b7 /scripts/report | |
parent | cc98b59d1e99238270eb307b117da8b0b35e6f27 (diff) | |
download | fork-ledger-a32173ace60df5a1e9414f5e95b556c436f62718.tar.gz fork-ledger-a32173ace60df5a1e9414f5e95b556c436f62718.tar.bz2 fork-ledger-a32173ace60df5a1e9414f5e95b556c436f62718.zip |
changes
Diffstat (limited to 'scripts/report')
-rw-r--r--[-rwxr-xr-x] | scripts/report | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/report b/scripts/report index c5dbe171..aa42982e 100755..100644 --- a/scripts/report +++ b/scripts/report @@ -1,15 +1,17 @@ #!/bin/sh +dir=$HOME/doc/finance + cd /tmp -ledger "$@" > report + +ledger -M -G register "$@" > $1 gnuplot <<EOF set terminal png set output "report.png" set xdata time set timefmt "%Y/%m/%d" -plot "report" using 1:2 with linespoints +plot "$1" using 1:2 with linespoints EOF -rm -f report open report.png |