hledger/tests/codes.test
2020-07-07 14:00:02 -07:00

38 lines
333 B
Plaintext

# codes command
<
1/1 (123)
(a) 1
1/1 ()
(a) 1
1/1
(a) 1
1/1 (124)
(a) 1
1/1 (123)
(a) 1
1/1
(a) 1
# 1. Show non-empty codes by default, in parse order, including duplicates.
$ hledger -f - codes
123
124
123
>=
# 2. With -E, also show empty/missing codes as blank lines.
$ hledger -f - codes -E
123
124
123
>=