Debian Codegraph @

contrib/bal-huquq

raw symbols SCIP
1 #!/bin/sh
2
3 switch="-c"
4 limit="-t (/Liabilities/?(/Huquq/?a/P{2.22AU}<={-1.0}:a<0):Ua>100)&a"
5
6 if [ "$1" = "-C" -o "$1" = "-U" ]; then
7 switch="$1"
8 shift
9 elif [ "$1" = "-b" -o "$1" = "-e" -o "$1" = "-p" ]; then
10 switch="$1 $2"
11 shift 2
12 fi
13
14 accts="$@"
15 if [ -z "$accts" ]; then
16 accts="-Equity -Income -Expenses"
17 else
18 limit=""
19 fi
20
21 ledger -VQ $switch $limit -s -S "-UT" balance $accts