diff options
author | John Wiegley <johnw@newartisans.com> | 2003-10-02 05:04:38 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2003-10-02 05:04:38 +0000 |
commit | 3cfae2794784c1629dd98c0b600b2731e27a3f57 (patch) | |
tree | 5339db0e7df4b6f925788270d8c805111e729ae1 /report | |
parent | bfff951c310b0b1b4f2ddaf3d69549bd3bac2717 (diff) | |
download | fork-ledger-3cfae2794784c1629dd98c0b600b2731e27a3f57.tar.gz fork-ledger-3cfae2794784c1629dd98c0b600b2731e27a3f57.tar.bz2 fork-ledger-3cfae2794784c1629dd98c0b600b2731e27a3f57.zip |
*** empty log message ***
Diffstat (limited to 'report')
-rwxr-xr-x | report | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,20 +1,20 @@ #!/bin/bash -binary=ledger -LEDGER=$HOME/doc/finance/ledger.dat - -line="$binary -f $ledger" - command=$1 shift case "$command" in - balance) $line "$@" balance -s -- -Equity -Income -Expenses -Retirement ;; - worth) $line "$@" balance assets liabilities ;; - profit) $line "$@" balance income expense ;; - spending) $line "$@" balance -F food movies gas tips \ + balance) ledger "$@" balance -- -Equity -Income -Expenses -Retirement ;; + worth) ledger "$@" balance assets liabilities ;; + profit) ledger "$@" balance income expense ;; + spending) ledger "$@" balance -F food movies gas tips \ health supplies -insurance -vacation ;; - huquq) $line "$@" balance ^huquq ;; - gold) $line "$@" balance -G $1 ^huquq ;; - equity) $line "$@" equity -- -^Income -^Expenses -^Equity ;; + monthly_spending) + for i in jan feb mar apr may jun jul aug sep oct nov dec + do + echo $i: + $0 spending -d $i + done ;; + huquq) ledger "$@" balance -n ^huquq ;; + equity) ledger "$@" equity -- -^Income -^Expenses -^Equity ;; esac |