From c9fb11bd60a2170fb896d77ff8d7706f563ad597 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 8 Nov 2004 06:43:11 +0000 Subject: updated to version 2.0 --- scripts/report | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) mode change 100644 => 100755 scripts/report (limited to 'scripts/report') diff --git a/scripts/report b/scripts/report old mode 100644 new mode 100755 index aa42982e..24418cdc --- a/scripts/report +++ b/scripts/report @@ -1,17 +1,21 @@ #!/bin/sh -dir=$HOME/doc/finance +# This script facilities plotting of a ledger register report. If you +# use OS/X, and have AquaTerm installed, you will probably want to set +# LEDGER_TERM to "aqua". +# +# Examples of use: +# +# report -j -M reg food # plot monthly food costs +# report -J reg checking # plot checking account balance -cd /tmp +if [ -z "$LEDGER_TERM" ]; then + LEDGER_TERM="x11 persist" +fi -ledger -M -G register "$@" > $1 - -gnuplot <