mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-10 05:39:31 +03:00
Get "make functest" working again
This commit is contained in:
parent
ab12ff916f
commit
c823f5b51a
@ -36,9 +36,9 @@
|
|||||||
assets:cash
|
assets:cash
|
||||||
|
|
||||||
$ hledger -f- bal --budget -DTN
|
$ hledger -f- bal --budget -DTN
|
||||||
Budget performance in 2016/12/01-2016/12/03:
|
Budget performance in 2016-12-01-2016-12-03:
|
||||||
|
|
||||||
|| 2016/12/01 2016/12/02 2016/12/03 Total
|
|| 2016-12-01 2016-12-02 2016-12-03 Total
|
||||||
==================++========================================================================================
|
==================++========================================================================================
|
||||||
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25] $-75 [ 100% of $-75]
|
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25] $-75 [ 100% of $-75]
|
||||||
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25] $-75 [ 100% of $-75]
|
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25] $-75 [ 100% of $-75]
|
||||||
@ -82,9 +82,9 @@ account expenses:leisure
|
|||||||
assets:cash
|
assets:cash
|
||||||
|
|
||||||
$ hledger -f- bal --budget -DTN
|
$ hledger -f- bal --budget -DTN
|
||||||
Budget performance in 2016/12/01-2016/12/03:
|
Budget performance in 2016-12-01-2016-12-03:
|
||||||
|
|
||||||
|| 2016/12/01 2016/12/02 2016/12/03 Total
|
|| 2016-12-01 2016-12-02 2016-12-03 Total
|
||||||
==================++========================================================================================
|
==================++========================================================================================
|
||||||
expenses || $10 [ 40% of $25] $14 [ 56% of $25] $51 [ 204% of $25] $75 [ 100% of $75]
|
expenses || $10 [ 40% of $25] $14 [ 56% of $25] $51 [ 204% of $25] $75 [ 100% of $75]
|
||||||
expenses:leisure || 0 [ 0% of $15] $5 [ 33% of $15] 0 [ 0% of $15] $5 [ 11% of $45]
|
expenses:leisure || 0 [ 0% of $15] $5 [ 33% of $15] 0 [ 0% of $15] $5 [ 11% of $45]
|
||||||
@ -94,9 +94,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
|||||||
|
|
||||||
# # 2. -E
|
# # 2. -E
|
||||||
# $ hledger bal -D -b 2016-12-01 -e 2016-12-04 -f - --budget -E
|
# $ hledger bal -D -b 2016-12-01 -e 2016-12-04 -f - --budget -E
|
||||||
# Budget performance in 2016/12/01-2016/12/03:
|
# Budget performance in 2016-12-01-2016-12-03:
|
||||||
|
|
||||||
# || 2016/12/01 2016/12/02 2016/12/03
|
# || 2016-12-01 2016-12-02 2016-12-03
|
||||||
# ==============================++==============================================================================
|
# ==============================++==============================================================================
|
||||||
# <unbudgeted>:expenses:cab || 0 0 $15
|
# <unbudgeted>:expenses:cab || 0 0 $15
|
||||||
# <unbudgeted>:expenses:movies || 0 0 $25
|
# <unbudgeted>:expenses:movies || 0 0 $25
|
||||||
@ -142,9 +142,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
|||||||
# assets:cash
|
# assets:cash
|
||||||
|
|
||||||
# $ hledger bal -D -b 2016-12-01 -e 2016-12-04 -f - --budget
|
# $ hledger bal -D -b 2016-12-01 -e 2016-12-04 -f - --budget
|
||||||
# Budget performance in 2016/12/01-2016/12/03:
|
# Budget performance in 2016-12-01-2016-12-03:
|
||||||
|
|
||||||
# || 2016/12/01 2016/12/02 2016/12/03
|
# || 2016-12-01 2016-12-02 2016-12-03
|
||||||
# ==================++=====================================================================================
|
# ==================++=====================================================================================
|
||||||
# <unbudgeted> || 0 0 $40
|
# <unbudgeted> || 0 0 $40
|
||||||
# assets:cash || $-15 [ 60% of $-25] $-26 [ 104% of $-25] $-51 [ 204% of $-25]
|
# assets:cash || $-15 [ 60% of $-25] $-26 [ 104% of $-25] $-51 [ 204% of $-25]
|
||||||
@ -156,9 +156,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
|||||||
#** Sort by actual amount, flat mode.
|
#** Sort by actual amount, flat mode.
|
||||||
|
|
||||||
$ hledger -f- bal --budget -DTNS
|
$ hledger -f- bal --budget -DTNS
|
||||||
Budget performance in 2016/12/01-2016/12/03:
|
Budget performance in 2016-12-01-2016-12-03:
|
||||||
|
|
||||||
|| 2016/12/01 2016/12/02 2016/12/03 Total
|
|| 2016-12-01 2016-12-02 2016-12-03 Total
|
||||||
==================++========================================================================================
|
==================++========================================================================================
|
||||||
expenses || $10 [ 40% of $25] $14 [ 56% of $25] $51 [ 204% of $25] $75 [ 100% of $75]
|
expenses || $10 [ 40% of $25] $14 [ 56% of $25] $51 [ 204% of $25] $75 [ 100% of $75]
|
||||||
expenses:food || $10 [ 100% of $10] $9 [ 90% of $10] $11 [ 110% of $10] $30 [ 100% of $30]
|
expenses:food || $10 [ 100% of $10] $9 [ 90% of $10] $11 [ 110% of $10] $30 [ 100% of $30]
|
||||||
@ -169,9 +169,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
|||||||
#** Sort by actual amount, tree mode.
|
#** Sort by actual amount, tree mode.
|
||||||
|
|
||||||
$ hledger -f- bal --budget -DTNS --tree
|
$ hledger -f- bal --budget -DTNS --tree
|
||||||
Budget performance in 2016/12/01-2016/12/03:
|
Budget performance in 2016-12-01-2016-12-03:
|
||||||
|
|
||||||
|| 2016/12/01 2016/12/02 2016/12/03 Total
|
|| 2016-12-01 2016-12-02 2016-12-03 Total
|
||||||
===========++========================================================================================
|
===========++========================================================================================
|
||||||
expenses || $10 [ 40% of $25] $14 [ 56% of $25] $51 [ 204% of $25] $75 [ 100% of $75]
|
expenses || $10 [ 40% of $25] $14 [ 56% of $25] $51 [ 204% of $25] $75 [ 100% of $75]
|
||||||
food || $10 [ 100% of $10] $9 [ 90% of $10] $11 [ 110% of $10] $30 [ 100% of $30]
|
food || $10 [ 100% of $10] $9 [ 90% of $10] $11 [ 110% of $10] $30 [ 100% of $30]
|
||||||
|
@ -32,9 +32,9 @@
|
|||||||
|
|
||||||
# 1. Test --budget switch
|
# 1. Test --budget switch
|
||||||
$ hledger -f- bal -D -b 2016-12-01 -e 2016-12-04 --budget
|
$ hledger -f- bal -D -b 2016-12-01 -e 2016-12-04 --budget
|
||||||
Budget performance in 2016/12/01-2016/12/03:
|
Budget performance in 2016-12-01-2016-12-03:
|
||||||
|
|
||||||
|| 2016/12/01 2016/12/02 2016/12/03
|
|| 2016-12-01 2016-12-02 2016-12-03
|
||||||
==================++==================================================================
|
==================++==================================================================
|
||||||
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||||
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||||
@ -46,9 +46,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
|||||||
|
|
||||||
# 2. -E
|
# 2. -E
|
||||||
$ hledger -f- bal -D -b 2016-12-01 -e 2016-12-04 --budget -E
|
$ hledger -f- bal -D -b 2016-12-01 -e 2016-12-04 --budget -E
|
||||||
Budget performance in 2016/12/01-2016/12/03:
|
Budget performance in 2016-12-01-2016-12-03:
|
||||||
|
|
||||||
|| 2016/12/01 2016/12/02 2016/12/03
|
|| 2016-12-01 2016-12-02 2016-12-03
|
||||||
==================++==================================================================
|
==================++==================================================================
|
||||||
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||||
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||||
@ -96,9 +96,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
|||||||
assets:cash
|
assets:cash
|
||||||
|
|
||||||
$ hledger -f- bal -D -b 2016-12-01 -e 2016-12-04 --budget
|
$ hledger -f- bal -D -b 2016-12-01 -e 2016-12-04 --budget
|
||||||
Budget performance in 2016/12/01-2016/12/03:
|
Budget performance in 2016-12-01-2016-12-03:
|
||||||
|
|
||||||
|| 2016/12/01 2016/12/02 2016/12/03
|
|| 2016-12-01 2016-12-02 2016-12-03
|
||||||
==================++======================================================================================
|
==================++======================================================================================
|
||||||
assets || $-15 [ 60% of $-25] $-26 [ 104% of $-25] $-51 [ 204% of $-25]
|
assets || $-15 [ 60% of $-25] $-26 [ 104% of $-25] $-51 [ 204% of $-25]
|
||||||
assets:cash || $-15 [ 60% of $-25] $-26 [ 104% of $-25] $-51 [ 204% of $-25]
|
assets:cash || $-15 [ 60% of $-25] $-26 [ 104% of $-25] $-51 [ 204% of $-25]
|
||||||
@ -131,9 +131,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
|||||||
(c) 1
|
(c) 1
|
||||||
|
|
||||||
$ hledger -f- bal --budget
|
$ hledger -f- bal --budget
|
||||||
Budget performance in 2018/01/01-2018/01/03:
|
Budget performance in 2018-01-01-2018-01-03:
|
||||||
|
|
||||||
|| 2018/01/01-2018/01/03
|
|| 2018-01-01-2018-01-03
|
||||||
===++=======================
|
===++=======================
|
||||||
a || 2 [ 7% of 30]
|
a || 2 [ 7% of 30]
|
||||||
b || 2 [ 2% of 100]
|
b || 2 [ 2% of 100]
|
||||||
@ -145,9 +145,9 @@ Budget performance in 2018/01/01-2018/01/03:
|
|||||||
# Budget goals with lower frequency than the report are posted in the
|
# Budget goals with lower frequency than the report are posted in the
|
||||||
# appropriate intermittent periods.
|
# appropriate intermittent periods.
|
||||||
$ hledger -f- bal --budget -D
|
$ hledger -f- bal --budget -D
|
||||||
Budget performance in 2018/01/01-2018/01/03:
|
Budget performance in 2018-01-01-2018-01-03:
|
||||||
|
|
||||||
|| 2018/01/01 2018/01/02 2018/01/03
|
|| 2018-01-01 2018-01-02 2018-01-03
|
||||||
===++=========================================================
|
===++=========================================================
|
||||||
a || 1 [ 10% of 10] 0 [ 0% of 10] 1 [ 10% of 10]
|
a || 1 [ 10% of 10] 0 [ 0% of 10] 1 [ 10% of 10]
|
||||||
b || 1 [ 1% of 100] 0 [ 0] 1 [ 0]
|
b || 1 [ 1% of 100] 0 [ 0] 1 [ 0]
|
||||||
@ -157,9 +157,9 @@ Budget performance in 2018/01/01-2018/01/03:
|
|||||||
|
|
||||||
# 6. Budget goals with higher frequency than the report get added up appropriately.
|
# 6. Budget goals with higher frequency than the report get added up appropriately.
|
||||||
$ hledger -f- bal --budget -W
|
$ hledger -f- bal --budget -W
|
||||||
Budget performance in 2018/01/01w01:
|
Budget performance in 2018-01-01w01:
|
||||||
|
|
||||||
|| 2018/01/01w01
|
|| 2018-01-01w01
|
||||||
===++===================
|
===++===================
|
||||||
a || 2 [ 7% of 30]
|
a || 2 [ 7% of 30]
|
||||||
b || 2 [ 2% of 100]
|
b || 2 [ 2% of 100]
|
||||||
@ -189,9 +189,9 @@ Budget performance in 2018/01/01w01:
|
|||||||
(b) 1
|
(b) 1
|
||||||
|
|
||||||
$ hledger -f- bal --budget -D
|
$ hledger -f- bal --budget -D
|
||||||
Budget performance in 2018/01/01-2018/01/04:
|
Budget performance in 2018-01-01-2018-01-04:
|
||||||
|
|
||||||
|| 2018/01/01 2018/01/02 2018/01/03 2018/01/04
|
|| 2018-01-01 2018-01-02 2018-01-03 2018-01-04
|
||||||
==============++================================================================
|
==============++================================================================
|
||||||
<unbudgeted> || 1 1 1 1
|
<unbudgeted> || 1 1 1 1
|
||||||
a || 1 1 [ 100% of 1] 1 [ 100% of 1] 1
|
a || 1 1 [ 100% of 1] 1 [ 100% of 1] 1
|
||||||
@ -219,9 +219,9 @@ Budget performance in 2018/01/01-2018/01/04:
|
|||||||
(a) 1
|
(a) 1
|
||||||
|
|
||||||
$ hledger -f- bal --budget -D
|
$ hledger -f- bal --budget -D
|
||||||
Budget performance in 2018/01/01-2018/01/04:
|
Budget performance in 2018-01-01-2018-01-04:
|
||||||
|
|
||||||
|| 2018/01/01 2018/01/02 2018/01/03 2018/01/04
|
|| 2018-01-01 2018-01-02 2018-01-03 2018-01-04
|
||||||
===++====================================================================
|
===++====================================================================
|
||||||
a || 1 [ 100% of 1] 1 [ 100% of 1] 1 [ 10% of 10] 1 [ 10% of 10]
|
a || 1 [ 100% of 1] 1 [ 100% of 1] 1 [ 10% of 10] 1 [ 10% of 10]
|
||||||
---++--------------------------------------------------------------------
|
---++--------------------------------------------------------------------
|
||||||
@ -229,9 +229,9 @@ Budget performance in 2018/01/01-2018/01/04:
|
|||||||
|
|
||||||
# 9. A "from A to B" budget should not be included in a report beginning on B.
|
# 9. A "from A to B" budget should not be included in a report beginning on B.
|
||||||
$ hledger -f- bal --budget -D -b 2018/1/3
|
$ hledger -f- bal --budget -D -b 2018/1/3
|
||||||
Budget performance in 2018/01/03-2018/01/04:
|
Budget performance in 2018-01-03-2018-01-04:
|
||||||
|
|
||||||
|| 2018/01/03 2018/01/04
|
|| 2018-01-03 2018-01-04
|
||||||
===++==================================
|
===++==================================
|
||||||
a || 1 [ 10% of 10] 1 [ 10% of 10]
|
a || 1 [ 10% of 10] 1 [ 10% of 10]
|
||||||
---++----------------------------------
|
---++----------------------------------
|
||||||
@ -251,9 +251,9 @@ Budget performance in 2018/01/03-2018/01/04:
|
|||||||
# even if there are no actual transactions in the period,
|
# even if there are no actual transactions in the period,
|
||||||
# or if the actual amount is zero.
|
# or if the actual amount is zero.
|
||||||
$ hledger -f- bal --budget -D date:2018/1/1-2018/1/3
|
$ hledger -f- bal --budget -D date:2018/1/1-2018/1/3
|
||||||
Budget performance in 2018/01/01-2018/01/02:
|
Budget performance in 2018-01-01-2018-01-02:
|
||||||
|
|
||||||
|| 2018/01/01 2018/01/02
|
|| 2018-01-01 2018-01-02
|
||||||
===++================================
|
===++================================
|
||||||
a || 0 [ 0% of 1] 0 [ 0% of 1]
|
a || 0 [ 0% of 1] 0 [ 0% of 1]
|
||||||
---++--------------------------------
|
---++--------------------------------
|
||||||
@ -261,9 +261,9 @@ Budget performance in 2018/01/01-2018/01/02:
|
|||||||
|
|
||||||
# 11. With -E, zeroes are shown
|
# 11. With -E, zeroes are shown
|
||||||
$ hledger -f- bal --budget -D date:2018/1/1-2018/1/3 -E
|
$ hledger -f- bal --budget -D date:2018/1/1-2018/1/3 -E
|
||||||
Budget performance in 2018/01/01-2018/01/02:
|
Budget performance in 2018-01-01-2018-01-02:
|
||||||
|
|
||||||
|| 2018/01/01 2018/01/02
|
|| 2018-01-01 2018-01-02
|
||||||
===++================================
|
===++================================
|
||||||
a || 0 [ 0% of 1] 0 [ 0% of 1]
|
a || 0 [ 0% of 1] 0 [ 0% of 1]
|
||||||
---++--------------------------------
|
---++--------------------------------
|
||||||
@ -278,9 +278,9 @@ Budget performance in 2018/01/01-2018/01/02:
|
|||||||
(a:b) 1
|
(a:b) 1
|
||||||
|
|
||||||
$ hledger -f- bal --budget -N
|
$ hledger -f- bal --budget -N
|
||||||
Budget performance in 2018/01/01:
|
Budget performance in 2018-01-01:
|
||||||
|
|
||||||
|| 2018/01/01
|
|| 2018-01-01
|
||||||
===++================
|
===++================
|
||||||
a || 1 [ 100% of 1]
|
a || 1 [ 100% of 1]
|
||||||
|
|
||||||
@ -295,9 +295,9 @@ Budget performance in 2018/01/01:
|
|||||||
(a:b:c) 1
|
(a:b:c) 1
|
||||||
|
|
||||||
$ hledger -f- bal --budget
|
$ hledger -f- bal --budget
|
||||||
Budget performance in 2018/01/01:
|
Budget performance in 2018-01-01:
|
||||||
|
|
||||||
|| 2018/01/01
|
|| 2018-01-01
|
||||||
=======++==================
|
=======++==================
|
||||||
a || 2 [ 2% of 101]
|
a || 2 [ 2% of 101]
|
||||||
a:b || 1 [ 100% of 1]
|
a:b || 1 [ 100% of 1]
|
||||||
@ -307,9 +307,9 @@ Budget performance in 2018/01/01:
|
|||||||
|
|
||||||
# 14. tree mode
|
# 14. tree mode
|
||||||
$ hledger -f- bal --budget --tree
|
$ hledger -f- bal --budget --tree
|
||||||
Budget performance in 2018/01/01:
|
Budget performance in 2018-01-01:
|
||||||
|
|
||||||
|| 2018/01/01
|
|| 2018-01-01
|
||||||
=======++==================
|
=======++==================
|
||||||
a || 2 [ 2% of 101]
|
a || 2 [ 2% of 101]
|
||||||
b || 1 [ 100% of 1]
|
b || 1 [ 100% of 1]
|
||||||
@ -338,7 +338,7 @@ P 2018/01/26 SHARE €10
|
|||||||
assets:bank
|
assets:bank
|
||||||
|
|
||||||
$ hledger -f - bal -M --budget --cumulative --forecast -V
|
$ hledger -f - bal -M --budget --cumulative --forecast -V
|
||||||
Budget performance in 2018/05/01-2018/06/30, valued at period ends:
|
Budget performance in 2018-05-01-2018-06-30, valued at period ends:
|
||||||
|
|
||||||
|| May Jun
|
|| May Jun
|
||||||
================++==========================================
|
================++==========================================
|
||||||
@ -368,9 +368,9 @@ Budget performance in 2018/05/01-2018/06/30, valued at period ends:
|
|||||||
liabilities $-30.00
|
liabilities $-30.00
|
||||||
|
|
||||||
$ hledger -f- bal --budget
|
$ hledger -f- bal --budget
|
||||||
Budget performance in 2019/01/01-2019/01/03:
|
Budget performance in 2019-01-01-2019-01-03:
|
||||||
|
|
||||||
|| 2019/01/01-2019/01/03
|
|| 2019-01-01-2019-01-03
|
||||||
===================++==============================
|
===================++==============================
|
||||||
expenses || $50.00 [ 5% of $1,000.00]
|
expenses || $50.00 [ 5% of $1,000.00]
|
||||||
expenses:personal || $50.00 [ 5% of $1,000.00]
|
expenses:personal || $50.00 [ 5% of $1,000.00]
|
||||||
@ -380,9 +380,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
|||||||
|
|
||||||
# 17.
|
# 17.
|
||||||
$ hledger -f- bal --budget -E
|
$ hledger -f- bal --budget -E
|
||||||
Budget performance in 2019/01/01-2019/01/03:
|
Budget performance in 2019-01-01-2019-01-03:
|
||||||
|
|
||||||
|| 2019/01/01-2019/01/03
|
|| 2019-01-01-2019-01-03
|
||||||
========================================++==============================
|
========================================++==============================
|
||||||
expenses || $50.00 [ 5% of $1,000.00]
|
expenses || $50.00 [ 5% of $1,000.00]
|
||||||
expenses:personal || $50.00 [ 5% of $1,000.00]
|
expenses:personal || $50.00 [ 5% of $1,000.00]
|
||||||
@ -394,9 +394,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
|||||||
|
|
||||||
# 18.
|
# 18.
|
||||||
$ hledger -f- bal --budget --tree
|
$ hledger -f- bal --budget --tree
|
||||||
Budget performance in 2019/01/01-2019/01/03:
|
Budget performance in 2019-01-01-2019-01-03:
|
||||||
|
|
||||||
|| 2019/01/01-2019/01/03
|
|| 2019-01-01-2019-01-03
|
||||||
=============++==============================
|
=============++==============================
|
||||||
expenses || $50.00 [ 5% of $1,000.00]
|
expenses || $50.00 [ 5% of $1,000.00]
|
||||||
personal || $50.00 [ 5% of $1,000.00]
|
personal || $50.00 [ 5% of $1,000.00]
|
||||||
@ -406,9 +406,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
|||||||
|
|
||||||
# 19.
|
# 19.
|
||||||
$ hledger -f- bal --budget --tree -E
|
$ hledger -f- bal --budget --tree -E
|
||||||
Budget performance in 2019/01/01-2019/01/03:
|
Budget performance in 2019-01-01-2019-01-03:
|
||||||
|
|
||||||
|| 2019/01/01-2019/01/03
|
|| 2019-01-01-2019-01-03
|
||||||
=================++==============================
|
=================++==============================
|
||||||
expenses || $50.00 [ 5% of $1,000.00]
|
expenses || $50.00 [ 5% of $1,000.00]
|
||||||
personal || $50.00 [ 5% of $1,000.00]
|
personal || $50.00 [ 5% of $1,000.00]
|
||||||
@ -438,9 +438,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
|||||||
liabilities $-30.00
|
liabilities $-30.00
|
||||||
|
|
||||||
$ hledger -f- bal --budget
|
$ hledger -f- bal --budget
|
||||||
Budget performance in 2019/01/01-2019/01/03:
|
Budget performance in 2019-01-01-2019-01-03:
|
||||||
|
|
||||||
|| 2019/01/01-2019/01/03
|
|| 2019-01-01-2019-01-03
|
||||||
===============================++==============================
|
===============================++==============================
|
||||||
expenses || $50.00 [ 5% of $1100.00]
|
expenses || $50.00 [ 5% of $1100.00]
|
||||||
expenses:personal || $50.00 [ 5% of $1100.00]
|
expenses:personal || $50.00 [ 5% of $1100.00]
|
||||||
@ -451,9 +451,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
|||||||
|
|
||||||
# 21.
|
# 21.
|
||||||
$ hledger -f- bal --budget -E
|
$ hledger -f- bal --budget -E
|
||||||
Budget performance in 2019/01/01-2019/01/03:
|
Budget performance in 2019-01-01-2019-01-03:
|
||||||
|
|
||||||
|| 2019/01/01-2019/01/03
|
|| 2019-01-01-2019-01-03
|
||||||
========================================++==============================
|
========================================++==============================
|
||||||
expenses || $50.00 [ 5% of $1100.00]
|
expenses || $50.00 [ 5% of $1100.00]
|
||||||
expenses:personal || $50.00 [ 5% of $1100.00]
|
expenses:personal || $50.00 [ 5% of $1100.00]
|
||||||
@ -465,9 +465,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
|||||||
|
|
||||||
# 22.
|
# 22.
|
||||||
$ hledger -f- bal --budget --tree
|
$ hledger -f- bal --budget --tree
|
||||||
Budget performance in 2019/01/01-2019/01/03:
|
Budget performance in 2019-01-01-2019-01-03:
|
||||||
|
|
||||||
|| 2019/01/01-2019/01/03
|
|| 2019-01-01-2019-01-03
|
||||||
=================++==============================
|
=================++==============================
|
||||||
expenses || $50.00 [ 5% of $1100.00]
|
expenses || $50.00 [ 5% of $1100.00]
|
||||||
personal || $50.00 [ 5% of $1100.00]
|
personal || $50.00 [ 5% of $1100.00]
|
||||||
@ -478,9 +478,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
|||||||
|
|
||||||
# 23.
|
# 23.
|
||||||
$ hledger -f- bal --budget --tree -E
|
$ hledger -f- bal --budget --tree -E
|
||||||
Budget performance in 2019/01/01-2019/01/03:
|
Budget performance in 2019-01-01-2019-01-03:
|
||||||
|
|
||||||
|| 2019/01/01-2019/01/03
|
|| 2019-01-01-2019-01-03
|
||||||
=================++==============================
|
=================++==============================
|
||||||
expenses || $50.00 [ 5% of $1100.00]
|
expenses || $50.00 [ 5% of $1100.00]
|
||||||
personal || $50.00 [ 5% of $1100.00]
|
personal || $50.00 [ 5% of $1100.00]
|
||||||
@ -515,9 +515,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
|||||||
# By default it hides d (because no budget) and e (because zero posted amount).
|
# By default it hides d (because no budget) and e (because zero posted amount).
|
||||||
# f is shown though its budget is zero, it probably shouldn't be.
|
# f is shown though its budget is zero, it probably shouldn't be.
|
||||||
$ hledger bal -f- --budget
|
$ hledger bal -f- --budget
|
||||||
Budget performance in 2019/01/01-2019/01/02:
|
Budget performance in 2019-01-01-2019-01-02:
|
||||||
|
|
||||||
|| 2019/01/01-2019/01/02
|
|| 2019-01-01-2019-01-02
|
||||||
==================++=======================
|
==================++=======================
|
||||||
expenses || $80 [ 22% of $370]
|
expenses || $80 [ 22% of $370]
|
||||||
expenses:bills || $80 [ 22% of $370]
|
expenses:bills || $80 [ 22% of $370]
|
||||||
@ -532,9 +532,9 @@ Budget performance in 2019/01/01-2019/01/02:
|
|||||||
|
|
||||||
# 25. -E shows d
|
# 25. -E shows d
|
||||||
$ hledger bal -f- --budget -E
|
$ hledger bal -f- --budget -E
|
||||||
Budget performance in 2019/01/01-2019/01/02:
|
Budget performance in 2019-01-01-2019-01-02:
|
||||||
|
|
||||||
|| 2019/01/01-2019/01/02
|
|| 2019-01-01-2019-01-02
|
||||||
==================++=======================
|
==================++=======================
|
||||||
expenses || $80 [ 22% of $370]
|
expenses || $80 [ 22% of $370]
|
||||||
expenses:bills || $80 [ 22% of $370]
|
expenses:bills || $80 [ 22% of $370]
|
||||||
|
@ -253,7 +253,7 @@ hledger -f- balance -p 'monthly 2014/1/10-2014/2/20'
|
|||||||
(after) 1
|
(after) 1
|
||||||
|
|
||||||
>>>
|
>>>
|
||||||
Balance changes in 2014/01/01-2014/02/28:
|
Balance changes in 2014-01-01-2014-02-28:
|
||||||
|
|
||||||
|| Jan Feb
|
|| Jan Feb
|
||||||
========++==========
|
========++==========
|
||||||
|
@ -12,9 +12,9 @@ hledger -f sample.journal balance expenses -%
|
|||||||
# 2. Multi column percent
|
# 2. Multi column percent
|
||||||
hledger -f sample.journal balance expenses -% -p daily
|
hledger -f sample.journal balance expenses -% -p daily
|
||||||
>>>
|
>>>
|
||||||
Balance changes in 2008/06/03:
|
Balance changes in 2008-06-03:
|
||||||
|
|
||||||
|| 2008/06/03
|
|| 2008-06-03
|
||||||
===================++============
|
===================++============
|
||||||
expenses:food || 50.0 %
|
expenses:food || 50.0 %
|
||||||
expenses:supplies || 50.0 %
|
expenses:supplies || 50.0 %
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
hledger -f balance-multicol.journal balance --pretty-tables -M
|
hledger -f balance-multicol.journal balance --pretty-tables -M
|
||||||
>>>
|
>>>
|
||||||
Balance changes in 2012/12/01-2013/03/31:
|
Balance changes in 2012-12-01-2013-03-31:
|
||||||
|
|
||||||
║ Dec Jan Feb Mar
|
║ Dec Jan Feb Mar
|
||||||
═════════════════╬════════════════════
|
═════════════════╬════════════════════
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
hledger -f balance-multicol.journal balance -M -A --transpose
|
hledger -f balance-multicol.journal balance -M -A --transpose
|
||||||
>>>
|
>>>
|
||||||
Balance changes in 2012/12/01-2013/03/31:
|
Balance changes in 2012-12-01-2013-03-31:
|
||||||
|
|
||||||
|| assets assets:cash assets:checking |
|
|| assets assets:cash assets:checking |
|
||||||
=========++======================================+====
|
=========++======================================+====
|
||||||
@ -53,9 +53,9 @@ hledger bal -D -b 2016-12-01 -e 2016-12-04 -f - --budget
|
|||||||
expenses:leisure $15
|
expenses:leisure $15
|
||||||
assets:cash
|
assets:cash
|
||||||
>>>
|
>>>
|
||||||
Budget performance in 2016/12/01-2016/12/03:
|
Budget performance in 2016-12-01-2016-12-03:
|
||||||
|
|
||||||
|| 2016/12/01 2016/12/02 2016/12/03
|
|| 2016-12-01 2016-12-02 2016-12-03
|
||||||
==================++==================================================================
|
==================++==================================================================
|
||||||
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||||
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||||
|
@ -5,9 +5,9 @@ hledger -f - cashflow
|
|||||||
assets 1
|
assets 1
|
||||||
b
|
b
|
||||||
>>>
|
>>>
|
||||||
Cashflow Statement 2016/01/01
|
Cashflow Statement 2016-01-01
|
||||||
|
|
||||||
|| 2016/01/01
|
|| 2016-01-01
|
||||||
============++============
|
============++============
|
||||||
Cash flows ||
|
Cash flows ||
|
||||||
------------++------------
|
------------++------------
|
||||||
@ -75,9 +75,9 @@ hledger -f - cashflow -b 2015 -e 2017
|
|||||||
assets:checking $10.00
|
assets:checking $10.00
|
||||||
assets:receivables -$10.00
|
assets:receivables -$10.00
|
||||||
>>>
|
>>>
|
||||||
Cashflow Statement 2015/01/01-2016/12/31
|
Cashflow Statement 2015-01-01-2016-12-31
|
||||||
|
|
||||||
|| 2015/01/01-2016/12/31
|
|| 2015-01-01-2016-12-31
|
||||||
=================++=======================
|
=================++=======================
|
||||||
Cash flows ||
|
Cash flows ||
|
||||||
-----------------++-----------------------
|
-----------------++-----------------------
|
||||||
@ -229,9 +229,9 @@ hledger -f - cashflow
|
|||||||
assets:fixed assets:equipment 1
|
assets:fixed assets:equipment 1
|
||||||
b
|
b
|
||||||
>>>
|
>>>
|
||||||
Cashflow Statement 2016/01/01
|
Cashflow Statement 2016-01-01
|
||||||
|
|
||||||
|| 2016/01/01
|
|| 2016-01-01
|
||||||
============++============
|
============++============
|
||||||
Cash flows ||
|
Cash flows ||
|
||||||
------------++------------
|
------------++------------
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
# 1. all data files on the command line should be read
|
# 1. all data files on the command line should be read
|
||||||
hledger inc -f personal.journal -f business.journal
|
hledger inc -f personal.journal -f business.journal
|
||||||
>>>
|
>>>
|
||||||
Income Statement 2014/01/01-2014/01/02
|
Income Statement 2014-01-01-2014-01-02
|
||||||
|
|
||||||
|| 2014/01/01-2014/01/02
|
|| 2014-01-01-2014-01-02
|
||||||
==========================++=======================
|
==========================++=======================
|
||||||
Revenues ||
|
Revenues ||
|
||||||
--------------------------++-----------------------
|
--------------------------++-----------------------
|
||||||
|
@ -17,14 +17,14 @@ $ hledger -f- register --weekly --monthly
|
|||||||
2019/02 a 1 3
|
2019/02 a 1 3
|
||||||
|
|
||||||
$ hledger -f- register --monthly --weekly
|
$ hledger -f- register --monthly --weekly
|
||||||
2018/12/31w01 a 2 2
|
2018-12-31w01 a 2 2
|
||||||
2019/01/28w05 a 1 3
|
2019-01-28w05 a 1 3
|
||||||
|
|
||||||
# The last report interval option takes precedence.
|
# The last report interval option takes precedence.
|
||||||
# The --period expression is no exception.
|
# The --period expression is no exception.
|
||||||
$ hledger -f- register -p 'monthly in 2019' --weekly
|
$ hledger -f- register -p 'monthly in 2019' --weekly
|
||||||
2018/12/31w01 a 2 2
|
2018-12-31w01 a 2 2
|
||||||
2019/01/28w05 a 1 3
|
2019-01-28w05 a 1 3
|
||||||
|
|
||||||
$ hledger -f- register --weekly -p 'monthly in 2019'
|
$ hledger -f- register --weekly -p 'monthly in 2019'
|
||||||
2019/01 a 2 2
|
2019/01 a 2 2
|
||||||
|
@ -16,7 +16,7 @@ hledger bal -M -b 2016-11 -e 2017-02 -f - --forecast
|
|||||||
expenses:grocery $30
|
expenses:grocery $30
|
||||||
assets:cash
|
assets:cash
|
||||||
>>>
|
>>>
|
||||||
Balance changes in 2016/12/01-2017/01/31:
|
Balance changes in 2016-12-01-2017-01-31:
|
||||||
|
|
||||||
|| Dec Jan
|
|| Dec Jan
|
||||||
==================++===============
|
==================++===============
|
||||||
|
@ -5,9 +5,9 @@ hledger -f - incomestatement
|
|||||||
income 1
|
income 1
|
||||||
b
|
b
|
||||||
>>>
|
>>>
|
||||||
Income Statement 2016/01/01
|
Income Statement 2016-01-01
|
||||||
|
|
||||||
|| 2016/01/01
|
|| 2016-01-01
|
||||||
==========++============
|
==========++============
|
||||||
Revenues ||
|
Revenues ||
|
||||||
----------++------------
|
----------++------------
|
||||||
@ -90,9 +90,9 @@ hledger -f - incomestatement -b 2015 -e 2017
|
|||||||
assets:checking $10.00
|
assets:checking $10.00
|
||||||
assets:receivables -$10.00
|
assets:receivables -$10.00
|
||||||
>>>
|
>>>
|
||||||
Income Statement 2015/01/01-2016/12/31
|
Income Statement 2015-01-01-2016-12-31
|
||||||
|
|
||||||
|| 2015/01/01-2016/12/31
|
|| 2015-01-01-2016-12-31
|
||||||
===================++=======================
|
===================++=======================
|
||||||
Revenues ||
|
Revenues ||
|
||||||
-------------------++-----------------------
|
-------------------++-----------------------
|
||||||
|
@ -413,7 +413,7 @@ Balance changes in 2000q1, valued at period ends:
|
|||||||
# February adds 1 A costing 7 B, making 13 B.
|
# February adds 1 A costing 7 B, making 13 B.
|
||||||
# March adds 1 A costing 8 B, making 21 B.
|
# March adds 1 A costing 8 B, making 21 B.
|
||||||
$ hledger -f- bal -M -H -b 200002 --value=cost
|
$ hledger -f- bal -M -H -b 200002 --value=cost
|
||||||
Ending balances (historical) in 2000/02/01-2000/03/31, valued at cost:
|
Ending balances (historical) in 2000-02-01-2000-03-31, valued at cost:
|
||||||
|
|
||||||
|| 2000-02-29 2000-03-31
|
|| 2000-02-29 2000-03-31
|
||||||
===++========================
|
===++========================
|
||||||
@ -426,7 +426,7 @@ Ending balances (historical) in 2000/02/01-2000/03/31, valued at cost:
|
|||||||
# February adds 1 A making 2 A, which is valued at 2000/02/29 as 4 B.
|
# February adds 1 A making 2 A, which is valued at 2000/02/29 as 4 B.
|
||||||
# March adds 1 A making 3 A, which is valued at 2000/03/31 as 9 B.
|
# March adds 1 A making 3 A, which is valued at 2000/03/31 as 9 B.
|
||||||
$ hledger -f- bal -MA -H -b 200002 --value=end
|
$ hledger -f- bal -MA -H -b 200002 --value=end
|
||||||
Ending balances (historical) in 2000/02/01-2000/03/31, valued at period ends:
|
Ending balances (historical) in 2000-02-01-2000-03-31, valued at period ends:
|
||||||
|
|
||||||
|| 2000-02-29 2000-03-31 Average
|
|| 2000-02-29 2000-03-31 Average
|
||||||
===++=================================
|
===++=================================
|
||||||
@ -437,7 +437,7 @@ Ending balances (historical) in 2000/02/01-2000/03/31, valued at period ends:
|
|||||||
# 40. multicolumn balance report with -H valued at other date.
|
# 40. multicolumn balance report with -H valued at other date.
|
||||||
# The starting balance is 5 B (1 A valued at 2000/1/15).
|
# The starting balance is 5 B (1 A valued at 2000/1/15).
|
||||||
$ hledger -f- bal -M -H -b 200002 --value=2000-01-15
|
$ hledger -f- bal -M -H -b 200002 --value=2000-01-15
|
||||||
Ending balances (historical) in 2000/02/01-2000/03/31, valued at 2000-01-15:
|
Ending balances (historical) in 2000-02-01-2000-03-31, valued at 2000-01-15:
|
||||||
|
|
||||||
|| 2000-02-29 2000-03-31
|
|| 2000-02-29 2000-03-31
|
||||||
===++========================
|
===++========================
|
||||||
|
@ -132,7 +132,7 @@ hledger -f- --pivot payee reg -D ^expense
|
|||||||
assets:bank account
|
assets:bank account
|
||||||
expense:grocery 30 EUR
|
expense:grocery 30 EUR
|
||||||
>>>
|
>>>
|
||||||
2016/02/16 Auchan 22 EUR 22 EUR
|
2016-02-16 Auchan 22 EUR 22 EUR
|
||||||
StarBars 5 EUR 27 EUR
|
StarBars 5 EUR 27 EUR
|
||||||
2016/02/17 Auchan 30 EUR 57 EUR
|
2016-02-17 Auchan 30 EUR 57 EUR
|
||||||
>>>=0
|
>>>=0
|
||||||
|
@ -43,8 +43,8 @@ hledger -f - register aa --depth 1 --daily
|
|||||||
a:aa 1
|
a:aa 1
|
||||||
b:bb:bbb
|
b:bb:bbb
|
||||||
>>>
|
>>>
|
||||||
2010/01/01 a 2 2
|
2010-01-01 a 2 2
|
||||||
2010/01/02 a 1 3
|
2010-01-02 a 1 3
|
||||||
>>>=0
|
>>>=0
|
||||||
|
|
||||||
# 4. with --cleared
|
# 4. with --cleared
|
||||||
@ -75,7 +75,7 @@ hledger -f - register --depth 0 --daily a b
|
|||||||
b:bb 2
|
b:bb 2
|
||||||
c:cc
|
c:cc
|
||||||
>>>
|
>>>
|
||||||
2010/01/01 ... 6 6
|
2010-01-01 ... 6 6
|
||||||
2010/01/02 ... 3 9
|
2010-01-02 ... 3 9
|
||||||
>>>=0
|
>>>=0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user