1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh file="2025-lmcu-checking-statements.csv" if test "$1"; then file="$1" fi rules="lmcu-checking.csv.rules" if test "$2"; then rules="$2" fi hledger -f"$file" --rules "$rules" balance -W --begin "$(date "+%Y-%m-01")" #--begin="last month"