summaryrefslogtreecommitdiff
path: root/contrib/scripts/bal
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-23 14:04:50 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-23 14:04:50 -0400
commit08559bff349b8266331389c9a0c579798ce94b4c (patch)
tree829d8c4f0c12855814d1d4891889fbfc655de8ed /contrib/scripts/bal
parenta61901a0923a1b4413fcc44a8ff259d309c064b0 (diff)
downloadfork-ledger-08559bff349b8266331389c9a0c579798ce94b4c.tar.gz
fork-ledger-08559bff349b8266331389c9a0c579798ce94b4c.tar.bz2
fork-ledger-08559bff349b8266331389c9a0c579798ce94b4c.zip
Moved scripts from contrib/scripts/ into contrib/
Diffstat (limited to 'contrib/scripts/bal')
-rwxr-xr-xcontrib/scripts/bal21
1 files changed, 0 insertions, 21 deletions
diff --git a/contrib/scripts/bal b/contrib/scripts/bal
deleted file mode 100755
index 423e3e41..00000000
--- a/contrib/scripts/bal
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-switch="-c"
-limit="-t (/Liabilities/?a<0:Ua>100)&a"
-
-if [ "$1" = "-C" -o "$1" = "-U" ]; then
- switch="$1"
- shift
-elif [ "$1" = "-b" -o "$1" = "-e" -o "$1" = "-p" ]; then
- switch="$1 $2"
- shift 2
-fi
-
-accts="$@"
-if [ -z "$accts" ]; then
- accts="-Equity -Income -Expenses"
-else
- limit=""
-fi
-
-ledger -VQ $switch $limit -s -S "-UT" balance $accts