From 08559bff349b8266331389c9a0c579798ce94b4c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 23 Feb 2009 14:04:50 -0400 Subject: Moved scripts from contrib/scripts/ into contrib/ --- contrib/report | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 contrib/report (limited to 'contrib/report') diff --git a/contrib/report b/contrib/report new file mode 100755 index 00000000..24418cdc --- /dev/null +++ b/contrib/report @@ -0,0 +1,21 @@ +#!/bin/sh + +# 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 + +if [ -z "$LEDGER_TERM" ]; then + LEDGER_TERM="x11 persist" +fi + +(cat <